Click here to Skip to main content
15,917,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am writing an MFC in application in VC++ 6.0. I made the aplication hidden by calling HideApplication(). Now I want that whenever user presses specfic key combination like Ctrl+Shift+L, a function should be called which handles that key. I donot want to use timer.
Posted

1 solution

You could register a global hotkey for that.

http://msdn.microsoft.com/en-us/library/s2c51t2b%28VS.71%29.aspx[^]

An example class you could use:
Keyboard (hotkey) customization class[^]

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900