Why is it that I cannot close the programme?

Aceix (455)
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
guestgulkan (2830)
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
Aceix (455)
Thanks for your suggestion. I'll look at that.

Aceix.
Topic archived. No new replies allowed.