Click here to Skip to main content
15,921,351 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hello,
please tell me how to add the menu item in dialog box.
Posted
Comments
Slacker007 20-Jun-11 7:55am    
What menu item and what dialog box are you referring to?

To dialog based MFC application you can add a context menu which comes on right clicking.
follow the below tutorial.
http://www.functionx.com/visualc/howto/contextmenu.htm[^]
 
Share this answer
 
If you are talking about a main menu in dialog then,

1. Create your menu resource(IDR_MYMENU).
2. go to dialog properties in resource editor.
3. in the menu property field give your menu id (IDR_MENU).
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900