Quote:
|
Originally Posted by rbayer
There's any number of things that could be going wrong, but my guess would be that the dialog is being created, but not shown.
One thing I noticed was that you grab the WM_INITDIALOG message in AboutDialog, but don't do anything with it. If you don't process a given message, your handler routine should return FALSE to signify to windows that it should use the default behavior, which in this case involves painting the window to the screen, etc.
|
I thought you were supposed to use DefWindowProc(), ie:
Code:
LRESULT CALLBACK aboutProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam){
switch(message){
...
}
return DefWindowProc(hDlg, messagem wParam, lParam);
}
I looked this up in MSDN just now.
http://msdn.microsoft.com/library/en...signing_pro c Though if I'm misunderstanding this, please tell me.