User Profile

Collapse

Profile Sidebar

Collapse
qhimq
qhimq
Last Activity: Aug 27 '07, 06:11 PM
Joined: May 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • qhimq
    replied to Tab Control Win32 API
    in C
    Sorry for reviving an old thread but heres a way better/cooler solution with more functionality
    Code:
    #include <windows.h>
    #include <commctrl.h>
    #include <stdio.h>
    
    HWND hwndMain;
    HWND hwndTab;
    HINSTANCE hinst;
    int oldTabPage;
    
    int NumToPower(int num, int power)
    {
    	if(power==1)
    		return num;
    	
    	return num*NumToPower(num, power-1);
    ...
    See more | Go to post

    Leave a comment:


  • qhimq
    started a topic setting up an mail server

    setting up an mail server

    Hi,

    I didn't know what form to go to for this one, so I apologize. I have apache, but I don't think its an apache question.

    I downloaded 'Free SMTP Server' which is a really nasty SMTP relay server program that allows 10 emails a day.

    First before recommending a better server program.

    I've tried a lot of different trial versions of many different smtp servers, and for all of them I am getting...
    See more | Go to post

  • qhimq
    replied to GetOpenFileName() crashes program
    in C
    yeah i agree that is a mistake, however its not causing my program to completely close without an error message.
    See more | Go to post

    Leave a comment:


  • qhimq
    started a topic GetOpenFileName() crashes program
    in C

    GetOpenFileName() crashes program

    Hi,

    I was wondering if anyone encountered the following error with GetOpenFileName ().


    The open dialog opens, and I hover my mouse over a file. The dialog shows the detailed info of the file like normal. I open my file and everything works as normal. I open the open dialog again. If I hover over any file again, the whole program is closed in a way that does not send any WM_CLOSE messages and not even windows...
    See more | Go to post

  • qhimq
    replied to ftp: connect initial response to ftp.exe
    ahhh

    I just had to turn off my firewall to make it work.
    See more | Go to post

    Leave a comment:


  • qhimq
    started a topic ftp: connect initial response to ftp.exe

    ftp: connect initial response to ftp.exe

    Hi,

    I'm trying to connect to my webspace on a MS server. But I know something is wrong with my Microsoft ftp client. when i type 'ftp' at the command line the only response I get is 'ftp:connect'. I get no input prompt at all.

    I've tried doing all the other inputs in the parameters, but when it gets to the part where i put in the ftp commands all I get is 'ftp:connect' and it ends the program.

    any...
    See more | Go to post

  • qhimq
    started a topic Change control id of window (resource number)
    in C

    Change control id of window (resource number)

    Does anyone know how to change the control id of a window multiple times at runtime? is it possible?



    Thanks,
    See more | Go to post

  • qhimq
    replied to Resizing Window
    in C
    Thanks for the help, everything is solved now.

    For some reason the WM_DESTROY would show up after I killed a window while resizing with showing window contents off, and the other way around when on.
    See more | Go to post

    Leave a comment:


  • qhimq
    replied to Resizing Window
    in C
    mm, I tried that but it didn't change anything, but now that I think of it, maybe I needed to open a new window for it to go into affect for that window.

    Thanks, I'll let you know if it worked when i get to a computer that has that ability to change that setting.
    See more | Go to post

    Leave a comment:


  • qhimq
    started a topic Resizing Window
    in C

    Resizing Window

    hi

    I built a program on windows 2000 professional and it works flawlessly to the eye. I can resize the window and all of it's contents scales correctly. I moved it onto windows XP with a setting that when any window is resized, it draws an outline instead of a displaying the window resizing with the cursor. Drawing that outline is configured somewhere in the OS not in my program. For some reason with this setting XP has my program...
    See more | Go to post

  • qhimq
    replied to Windows Print Helper
    in C
    I can open the print queue but no jobs show up and the ability to pause/stop printing is an administrator right.

    I want a program that instead of letting the job go to the printer, it takes the job and paints it on the screen.

    I'm quite sure the queue doesn't have the ability to literally view the print job's contents. Am I wrong?
    See more | Go to post

    Leave a comment:


  • qhimq
    replied to Windows Print Helper
    in C
    You can use the print queue to see the printout before you print?

    wow that would be nice....too bad i don't have admin rights, so i can't pause/stop printing on the printer.
    See more | Go to post

    Leave a comment:


  • qhimq
    started a topic Windows Print Helper
    in C

    Windows Print Helper

    Hi,

    Has anyone ever heard of a program, when running, will catch all that is supposed to be printed by any program and show it on the screen, while suppressing the actual printout in the printer?

    If not, any ideas on how to catch all the printer's jobs, suppress them, and show them?

    This would save a lot of trees for future and current projects when testing the printing functions.
    See more | Go to post

  • qhimq
    replied to Tab Control Win32 API
    in C
    ah figured it out.

    Code:
    #include <windows.h>
    #include <commctrl.h>
    
    HWND hwndMain;
    HWND hwndTab;
    HWND hwnd0;
    HWND hwnd1;
    HWND hwnd2;
    HWND hwnd3;
    HINSTANCE hinst;
    
    LRESULT CALLBACK ChildrenProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
    {
        switch(msg)
        {
            case WM_CLOSE:
                DestroyWindow(hwnd);
    ...
    See more | Go to post

    Leave a comment:


  • qhimq
    started a topic Tab Control Win32 API
    in C

    Tab Control Win32 API

    Hi, could someone tell me how to fix this? The edit control does not show up however the mouse changes around the position i want it to display.

    https://netfiles.uiuc.e du/qmitche2/www/tabs.exe

    Code:
    #include <windows.h>
    #include <commctrl.h>
    #include <stdio.h>
    
    HWND hwndMain;
    HWND hwndTab;
    HWND hwnd0;
    HWND hwnd1;
    HWND hwnd2;
    HWND hwnd3;
    ...
    See more | Go to post

  • mingw g++ has the windows SDK built for it and is already included in the install. As well as openGL.



    OpenGL source code for a pacman like game, with extra opengl headers, and libraries to compile with g++. This is built on older opengl so thats why those headers need to be added. You need to replace libglaux.a since the one I have on the website is a library that takes out the requirement of a .dll file with the...
    See more | Go to post

    Leave a comment:


  • qhimq
    replied to Get Resource Number of HWND
    in C
    super, thanks. that was a hidden gem.
    See more | Go to post

    Leave a comment:


  • qhimq
    started a topic Get Resource Number of HWND
    in C

    Get Resource Number of HWND

    In other words I want to get the control identifier of a window. Can I get this just from the hwnd? I'm only using the windows API.

    Thanks.
    See more | Go to post

  • qhimq
    replied to overlapping child windows paint problem
    in C
    hahaha, all it is...just Add the WS_CLIPSIBLINGS style to the children.


    ahhhh, I love just killing myself trying to solve the program on my own for 5 or so hours doing everything possible in my mind, then giving up going on there and posting about it, then getting an idea in about 5min, without any user help, solving the problem on my own. I also love making long run on sentences, and seperating them with commas.
    See more | Go to post

    Leave a comment:


  • qhimq
    started a topic overlapping child windows paint problem
    in C

    overlapping child windows paint problem

    https://netfiles.uiuc.e du/qmitche2/www/DCPbeta.v1.exe

    The above program has been my life for the past 2.5 weeks. Right now I'm working on the Setup Print Layout opinion in the file menu.

    To find what is wrong:

    input any values (the more the easier it is to see the problem) ...put in 3 or so.
    go to file->setup print layout
    drag the image on the page
    go to Add Chart
    ...
    See more | Go to post
No activity results to display
Show More
Working...