谁知道如何插入一行菜单
#define MAINMENU_FILE 100#define MAINMENU_OPENFILE 101
#define MAINMENU_OPENFMMFILE 102
#define MAINMENU_EXIT 119
下面的是添加一个菜单到hwnd窗口中
HMENU mainMenu ;
HMENU subMenu ;
HMENU openSubMenu ;
mainMenu = CreateMenu() ;
subMenu = CreatePopupMenu() ;
openSubMenu = CreatePopupMenu() ;
AppendMenu(openSubMenu, MF_STRING | MF_ENABLED, MAINMENU_OPENFILE, TEXT ("资源文件&M")) ;
AppendMenu(subMenu, MF_STRING | MF_ENABLED | MF_POPUP, (UINT)openSubMenu, TEXT ("打开&O")) ;
AppendMenu(subMenu, MF_STRING | MF_ENABLED, MAINMENU_OPENFILE, TEXT ("退出&X")) ;
AppendMenu (mainMenu, MF_STRING | MF_ENABLED | MF_POPUP, (UINT)subMenu, TEXT ("文件&F"));
SetMenu(hWnd, mainMenu) ;
但是我要是再添加一行图形菜单(MF_BITMAP)该如何做 用哪个API?