m26
asked on
WM_KEYDOWN and the F10 key (non MFC app)
I need to catch function key presses in a windows application (c++ non mfc, NT4).
WM_KEYDOWN works fine for all the F keys apart from F10 becuase windows intercepts this key and sends a WM_SYSCOMMAND to activate the system menu on the window.
Is there any way I can prevent windows doing this so that I can handle the F10 key press myself in the same way I handle all the other function keys?
WM_KEYDOWN works fine for all the F keys apart from F10 becuase windows intercepts this key and sends a WM_SYSCOMMAND to activate the system menu on the window.
Is there any way I can prevent windows doing this so that I can handle the F10 key press myself in the same way I handle all the other function keys?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Windows has worked this way since Version 1.0. OS/2 works the same way.
..B ekiM