VC里怎么添加菜单啊,急 啊
//{{NO_DEPENDENCIES}}// Microsoft Developer Studio generated include file.
// Used by rc.rc
//
#define IDI_ICON1 101
#define IDR_MENU1 102
#define ID_MENUITEM40001 40001
#define ID_MENUITEM40002 40002
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 104
#define _APS_NEXT_COMMAND_VALUE 40003
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
上面是resource.h里面的
HMEN hMenu=LoadMenu(hInstance,MAKEINTRESOURCE(IDR_MENU1));
CreateWindow里添加了,resource.h也添加了,怎么还说我没定义啊,到底怎么回事啊