[SDL] Dialog boxes.
darkmatter at freeuk.com
Tue Mar 14 10:45:15 PST 2006
Tuesday, March 14, 2006, 6:35:29 PM, you wrote:
MJ> Hi John, everything you say is accurate. If a dialog does receive a WM_QUIT
MJ> message, it posts it to the main window, according to the Win32
MJ> documentation. It makes sense that the dialog message loop will exit, but
MJ> why isn't the main program exiting?
MJ> Maybe this phantom WM_QUIT, that is always in the loop as you say, so they
MJ> simply filter it out in the main message loop? I have to look at the SDL
MJ> code when I get home.
Dialogs dont generate WM_QUIT - nothing does. The only thing that
generates this is a call to PostQuitMessage(). This is typically in
the WM_CLOSE or WM_DESTROY message for the apps main window.
Peter mailto:darkmatter at freeuk.com
More information about the SDL