Quote:
|
Originally Posted by Chris Bright
Unfortanuly i don't now much of anything about .net. I tried changing and adding the returns and nothing happened. Here is the full project.
whiteboard.zip
Thanks for your help guys
|
Hmmm... well, the included exe works just fine for me (both XP Professional and linux using wine), as does recompiling (using DevC++ 4.9.8.0), so I'm guessing something strange is happening with your computer. What version of Windows are you running?
Also, if you could add the following code and try running it again, that would be great:
-In WindowProcedure, in the IDI_HELP_ABOUT case, just above the line DialogBox(...):
MessageBox(NULL, "Got menu click", "Test", MB_OK);
-In AboutDialog, in the WM_INITDIALOG case:
MessageBox(NULL, "Got init dialog", "Test", MB_OK);
Then try choosing About from the help menu and see how many message boxes show up.
-Rob
Quote:
|
Originally Posted by Astronouth7303
I thought you were supposed to use DefWindowProc(), ie:
|
Maybe... I can't really remember. It's been a long time since I've done any API stuff (I've been doing Qt almost exclusively recently, and it was MFC before that).