I'm having a problem with the dialog window...its the same as this one: http://cboard.cprogramming.com/showthread.php?t=54923 im doing it just to learn and im not getting the dialog thing to show up either...
I'm having a problem with the dialog window...its the same as this one: http://cboard.cprogramming.com/showthread.php?t=54923 im doing it just to learn and im not getting the dialog thing to show up either...
What do you see when the program creates the dialog window?
Kuphryn
just a plain window
Make sure you give the dialog the WS_VISIBLE style, ie. with reference to the example you linked to, specifically the resource (.rc) file:Alternatively put a call to ShowWindow in the WM_INITDIALOG handler for the dialog box.Code:STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.