Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

GekkoCube

MFC unresponsive after being minimized.

This topic is 5561 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

my mfc app works great...when im using it. but if i were to go to another window for a while (maybe a few seconds to a minute) and then try to go back, the title bar doesnt get redrawn and the whole window becomes unresponsive, and i usually quit it using task manager. There was one time when after it froze on me I received an exception error window thing. Now does this mean that it''s a coding bug or my mfc design issue? things to note: Im still using invalidate(false) to update the window. and every once in a while i call Sleep(100) just so windows will stay in check. hope someone can help. im gonna let this sit over night. meantime, im not gonna let my app lose it''s focus!

Share this post


Link to post
Share on other sites
Advertisement
If you do any sort of heavy processing that takes more than 1/10th a second to finish then you need to be doing your computation in a thread.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!