View Single Post
  #11   Spotlight this post!  
Unread 28-12-2004, 13:11
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: win32 dialog help

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.