728x90
BOOL TestDlg::PreTranslateMessage(MSG* pMsg)
{
return CDialog::PreTranslateMessage(pMsg);
}
BOOL TestDlg::PreTranslateMessage(MSG* pMsg)
{
return CWnd::PreTranslateMessage(pMsg);
}
위와같이 [CDialog] -> [CWnd] 변경만으로 가능하다
728x90
'Application > MFC' 카테고리의 다른 글
[MFC] 단일 문서 상단 메뉴 체크 상태 변경 (0) | 2022.12.16 |
---|---|
[MFC] Escape(Esc) Or Enter 입력시 Form 닫히는 문제 해결법 2 (0) | 2022.11.30 |
[MFC] 파일 쓰기 한글 깨짐 문제 (BOM) (0) | 2022.11.23 |
32Bit 프로그램 2GByte 메모리 제한 해제 (0) | 2022.11.09 |
[MFC] 한줄로 Swap 하기 (0) | 2014.08.13 |