Hooks for VK_APPS
Posted on 2006-11-21
I have a dialog with many controls. I need to block pop-up menu due to key press from keyboard.(VK_APPS).
If i have the focus on some control and if i press the windows menu key, I investigated(using Spy ++) that the dialog directly doesnt receive this command.
The dialog receives WM_COMMAND from control(eg.ComboBox) which had focus. This way Iam not able to get the hook. I tried using GetMsgProc and GetKeyBoardProc but i was not able to block the menu from poping up.
please help me in this matter.