Jump to content
  • Advertisement
Sign in to follow this  

Hidden dialogs with MFC

This topic is 5392 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

I'm building a model exporting tool using MFC, and I'm having some trouble getting my dialog boxes and message boxes to show up. When a button is pressed, it brings up the dialog box then the dialog box does its merry job. The parent window grays out as it should, but the dialog box does not show itself until I hit alt. The same effect happens with message boxes. I'm pretty sure this is because I have the OnDraw function overridden in the parent window; I've had this problem before, and I remember that being the source of my troubles. I do not remember how I fixed it, nor do I have those files, so I thought I'd ask around for some help. Any insight would be appreciated.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!