Click to See Complete Forum and Search --> : Using ClassWizard, how can I attach a menu created by the resource editor to my MFC code?


Junior
May 11th, 1999, 01:25 PM
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?

Doofus
May 11th, 1999, 02:31 PM
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