Why can't I close the window when I replace line #55 with:
while(GetMessage(&msg,mainwnd->GetHwnd(),0,0))
This is the code:
http://pastebin.com/mrvBfXeQ
Or should I post the code here, please help.
Thanks,
Aceix.
Last edited on
A reminder from MSDN (the root of all knowledge for things microsoft - which you shold get into the habit of using/referening)
The WM_QUIT message is not associated with a window .... .
Last edited on
Thanks for your suggestion. I'll look at that.
Aceix.