dialog 에 PreTranslateMessage 를 구현 한다.
BOOL CFileViewDlg::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_RETURN) return FALSE; //return TRUE;
return CDialog::PreTranslateMessage(pMsg);
}
- Posted
- Filed under C,C++