BOOL COptionsBackup::PreTranslateMessage(MSG* pMsg) { RelayToolTipEvent(pMsg); if (pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_F1) { PostMessage(WM_COMMAND, MAKELONG(ID_HELP, BN_CLICKED), NULL); return TRUE; } return COptions_PropertyPage::PreTranslateMessage(pMsg); }
BOOL CPasswordSubsetDlg::PreTranslateMessage(MSG* pMsg) { RelayToolTipEvent(pMsg); return CPWDialog::PreTranslateMessage(pMsg); }