CMenu *pMenu=GetMenu();
CMenu *pSubMenu=pMenu->GetSubMenu(0);
pMenu->InsertMenu(nPosition,MF_STRING,ID_MENUITEM0,"NewMenuItem0");pSubMenu->InsertMenu(nPosition,MF_STRING,ID_MENUITEM1,"NewMenuItem1");nPosition 咋确定插入菜单项位置??
(我没有msdn)
CMenu *pSubMenu=pMenu->GetSubMenu(0);
pMenu->InsertMenu(nPosition,MF_STRING,ID_MENUITEM0,"NewMenuItem0");pSubMenu->InsertMenu(nPosition,MF_STRING,ID_MENUITEM1,"NewMenuItem1");nPosition 咋确定插入菜单项位置??
(我没有msdn)
没有msdn可以网上查啊