15,979
社区成员
发帖
与我相关
我的任务
分享
BOOL CMy1Dlg::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
// TODO: Add your specialized code here and/or call the base class
if (pMsg->message == WM_KEYDOWN)
{
if (pMsg->wParam==VK_RETURN)
pMsg->wParam=VK_TAB; //TRUE :截获消息,换掉。
}
return CDialog::PreTranslateMessage(pMsg);
}