mfc---右键蹦出菜单

WM_CONTEXTMENU

CMenu menu;

menu.LoadMenu(IDR_MENU_POPUP);

menu.GetSubMenu(0)->TrackPopupMenu(TPM_LEFTALIGH|TPM_LEFTBUTTON|TPM_RHGHTBUTTON,

point.x,point.y,this);

posted on 2014-03-11 23:11  DaMengZhang  阅读(150)  评论(0编辑  收藏  举报