void CMenuView::OnRButtonDown(UINT nFlags, CPoint point) { //弹出菜单 /* CMenu menu; menu.LoadMenu(IDR_MENU_POPUP); CMenu *pMenu = menu.GetSubMenu(0); //ScreenToClient(&point); ClientToScreen(&point); pMenu->TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON, point.x, point.y,this); */ CView::OnR Read More
posted @ 2012-03-17 12:34 庚武 Views(788) Comments(0) Diggs(0) Edit