更新时间:2023-11-29 23:08:46
对于基于对话框的MFC应用程序,您可以添加右键单击后会出现的上下文菜单. > 请遵循以下教程.
http://www.functionx.com/visualc/howto/contextmenu.htm [ ^ ]
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[^]
如果在谈论对话框中的主菜单,
1.创建菜单资源(IDR_MYMENU).
2.转到资源编辑器中的对话框属性.
3.在菜单属性字段中,输入您的菜单ID(IDR_MENU).
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).