Posted
Filed under C,C++
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);
}
2010/04/30 14:52 2010/04/30 14:52