这个菜单为为什么不能加载进窗口啊
我自己用resedit做出来,然后改了下,试着加载,可以连接,就是打开的窗口根本没有菜单显示,请问这是为什么呢是哪里出了问题啊,用原来的资源就可以加载
#include<resource.h>
#define ICO_MAIN 1000
#define IDM_MAIN 100
#define IDM_FGFDG1 40000
#define IDM_DFG1 40001
#define IDM_SD1 40002
#define IDM_ERT1 40003
#define IDM_HD1 40004
#define IDM_H1 40005
#define IDM_HD2 40006
#define IDM_DD1 40007
#define IDM_DG1 40008
#define IDM_RY1 40009
#define IDM_DHFD1 40010
//
// Menu resources
//
ICO_MAIN ICON"Main.ico"
IDM_MAIN MENU
BEGIN
POPUP "FGF"
BEGIN
MENUITEM "FGFDG", IDM_FGFDG1
MENUITEM "DFG", IDM_DFG1
MENUITEM "SD", IDM_SD1
MENUITEM "ERT", IDM_ERT1
MENUITEM "HD", IDM_HD1
MENUITEM "H", IDM_H1
MENUITEM "HD", IDM_HD2
END
POPUP "DGDH"
BEGIN
MENUITEM "DD", IDM_DD1
MENUITEM "DG", IDM_DG1
MENUITEM "RY", IDM_RY1
MENUITEM "DHFD", IDM_DHFD1
END
END
IDA_MAIN accelerators
BEGIN
"B", IDM_DHFD1,VIRTKEY,CONTROL,ALT
"F", IDM_RY1,VIRTKEY,ALT
END
#define IDM_MAIN 100
后面要替换1000以上的数字,你这里是100,太小了
{:10_266:}{:10_266:}
页:
[1]