Just a little tidbit to go along with this problem:
I threw in this code into my Default Windows Procedure message handling function:
Code:
case WM_ACTIVATE:
if(wParam == WA_INACTIVE)
{
MessageBox(NULL, "NOW", "INACTIVE", MB_OK);
}
break;
And the only time the MessageBox fires is when I press escape to close the window:
Code:
case WM_KEYDOWN:
switch (wParam)
{
case VK_ESCAPE:
MyGame->PostQuit();
return 0;
break;
}
(Also in the Message Handler Function)
And maybe this would be more apparent to you than it was to me before running the code, but that MessageBox will pop up over and over, refusing to let me quit my application once I pressed escape