|
我是在wm_create消息里面
HWND hwndcb;
hwndcb=CommandBar_Create(hInstance,hWnd,cmd);
CommandBar_AddAdornments(hwndcb,CMDBAR_OK,0);
HMENU hmenu;
HMENU hmainmenu;
hmainmenu=CreatePopupMenu();
hmenu=CreateMenu();
AppendMenu(hmenu,MF_STRING|MF_ENABLED,100,TEXT("&NEW"));
SetMenu(hWnd,hmenu);
怎么会提示E:\evc\windows\windows.cpp(33) : error C2065: 'SetMenu' : undeclared identifier
希望高手解答 还有具体怎么生成 显示菜单?谢谢
|
|