重载PreTranslateMessage 处理消息,并返回TRUE即可
BOOL CDialog::PreTranslateMessage(MSG* pMsg)
{// TODO: Add your specialized code here and/or call the base class
if((WM_RBUTTONDOWN == pMsg->message) || (WM_RBUTTONDBLCLK == pMsg->message))
{
return TRUE;
}
return CDialog::PreTranslateMessage(pMsg);
}
5340

被折叠的 条评论
为什么被折叠?



