void CMainFrame::OnRButtonDown(UINT nFlags, CPoint point) 
{
// TODO: Add your message handler code here and/or call default
CMenu menu;
menu.LoadMenu(IDR_MENU1);
CMenu *p=menu.GetSubMenu(0);
ClientToScreen(&point);
p->TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON,point.x,point.y,this); CFrameWnd::OnRButtonDown(nFlags, point);
}
新建了一个菜单资源,,然后创建了上面的消息响应。。为什么点击鼠标右键的时候不弹出菜单啊