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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shortcuts

Status
Not open for further replies.

exodus300

Programmer
Mar 22, 2002
262
AU
How can I make my program detect a key combination (eg. Windows+[Letter] or ctrl+alt+[Letter]) no matter what application the user is in and respond to the keypress? [Thanks in advance|Hope I helped you]
Exodus300
World-Wide Alliance of Evil and Twisted People
[red]"Experimentation by Example is the best learning tool" - Exodus300[/red]
Code:
if (pop_tarts == 0)
{
   tantrum = 1;
}
[pc3]
 
Not recommended as it clobbers all Windows accelerators but you can set up your own accelerators which take the system accelerator sequences.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top