Guest gimli Posted August 5, 2003 Report Posted August 5, 2003 My application consists of 2 dialogs: "settings" a "recognition". Most of the time the application stays in the background. When the "settings" is brought to the foreground and action key is pressed, I'd like to bring up the "recognition" dialog. In other cases I need default key processing. I've tried RegisterHotKey(hDlg, ID_HOME_BUTTON_HOTKEY, MOD_WIN, VK_THOME) and catch WM_HOTKEY message. I get the message, but I can not do default processing! How can I do something like this? if (uMsg == WM_HOTKEY && wParam == ID_ACTION_BUTTON_HOTKEY) { if (settingsWndIsUp()) myProcessing(); else defaultProcessing() } I've tried using DefWindowProc(), but it does not help. Thanks
Guest Lojt Posted August 6, 2003 Report Posted August 6, 2003 You should try asking in the development forum, here.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now