• Advertisement

Archived

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

Adding a menu to my MFC dialog app

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

How do I add and display a menu (File, Edit etc) in my MFC dialog app? I seem to add one okay but it doesn''t display itself.

Share this post


Link to post
Share on other sites
Advertisement
Some code please?

If you LoadMenu() and SetMenu() using a local instance of a CMenu class, you need to call CMenu::Detach() before it goes out of scope (and gets destroyed).

Share this post


Link to post
Share on other sites

  • Advertisement