CMenu menu;
menu. LoadMenu(IDR_WZD_MENU);
CMenu* pPopup=menu.GetSubMenu(0);
CPoint point;
GetCursorPos(&point);
pPopup-> TrackPopupMenu(TPM_LEFTALIGN,point.x,point.y,this);//弹出菜单
menu.DestroyMenu();//销毁菜单
CMenu menu;
menu. LoadMenu(IDR_WZD_MENU);
CMenu* pPopup=menu.GetSubMenu(0);
CPoint point;
GetCursorPos(&point);
pPopup-> TrackPopupMenu(TPM_LEFTALIGN,point.x,point.y,this);//弹出菜单
menu.DestroyMenu();//销毁菜单