Original Post
🔒 Locked
Window Loop
Advertisement
How are you handling the close and destroy window messages in your win proc? I ask because your while loop looks fine to me.
Yeah your message loop is fine, I just do a while (!done) then when I hit WM_QUIT and change done to true and exit gracefully. I think its neater looking and easier to follow then a break like yours but it's looks nothing more.
What's the actual error you are getting and how are you handling, like LostSource asked, your WndProc for the close/destroy messages?
What's the actual error you are getting and how are you handling, like LostSource asked, your WndProc for the close/destroy messages?
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement