//m_hWnd;
CMenu menu ;
menu.LoadMenuW(IDR_MENU1);
CMenu *subMenu = menu.GetSubMenu(0);
ClientToScreen(&point);
subMenu->TrackPopupMenu(TPM_LEFTALIGN | TPM_LEFTBUTTON, point.x, point.y, this);
//m_hWnd;
CMenu menu ;
menu.LoadMenuW(IDR_MENU1);
CMenu *subMenu = menu.GetSubMenu(0);
ClientToScreen(&point);
subMenu->TrackPopupMenu(TPM_LEFTALIGN | TPM_LEFTBUTTON, point.x, point.y, this);
本文标题:popmenu
本文链接:https://www.haomeiwen.com/subject/mtaxpktx.html
网友评论