16,467
社区成员
发帖
与我相关
我的任务
分享
BOOL CSIMDlg::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if( pMsg->message ==WM_KEYDOWN)
{
if(pMsg->wParam == VK_ESCAPE||pMsg->wParam == VK_RETURN)
return TRUE;
}
return CDialog::PreTranslateMessage(pMsg);
}