void CHook1View::OnContextMenu(CWnd* /*pWnd*/, CPoint point){
CMenu menu;menu.LoadMenu(IDR_MAINFRAME );CMenu* pmenu;pmenu=menu.GetSubMenu(0);pmenu->TrackPopupMenu(0,point.x,point.y,this);}
Post a Comment
No comments:
Post a Comment