BOOL CDialog::PreTranslateMessage(MSG* pMsg) { if (pMsg->message == WM_KEYDOWN) { if(pMsg->wParam == VK_SPACE && pMsg->wParam == VK_SHIFT) { AfxMessageBox("Key is pressed"); } return CDialog::PreTranslateMessage(pMsg); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)