Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find associated program hotkeys

Status
Not open for further replies.

Brent113

Programmer
Aug 13, 2003
67
US
I created a little application that enumerates all possible hotkey combinations and calls the registerhotkey api on each one to see if it's available (of course cleaning up afterwards).

This successfully lists all hotkeys in use, but it doesn't tell which application (for example, Winamp global hotkeys) or shortcut (for example, calculator) it is mapped to, or how to remove the association. I have seen methods that enumerate all possible shortcut files to read them but that seems extremely inefficient. There should be a registry entry or something somewhere, I just don't know where it is.

How do I list what a hot-key is mapped to (it has to be stored somewhere) and how do I remove it?

____________________________________________________________________________
There are only 10 types of people in the world. Those that know binary and those that don't

Brent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top