CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    10

    Using ClassWizard, how can I attach a menu created by the resource editor to my MFC code?

    I'm developing an application (based on the dialog based option of the AppWizard) for which I created a new menu using the resource editor. My menu is ready, it has its ID, but when I run the application the menu never shows up. How do I attach this resource to my MFC code using the ClassWizard?


  2. #2
    Join Date
    May 1999
    Posts
    28

    Re: Using ClassWizard, how can I attach a menu created by the resource editor to my MFC code?

    After opening Class Wizzard, locate your ID in the left-most window, highlight it, then click on COMMAND in the right-most window, then click ADD Function, then click EDIT CODE, then add code for your menu


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured