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!

Hotkey ?'s Windows Overwrite

Status
Not open for further replies.

XerxesTheMighty

Programmer
Jun 15, 2003
72
US
Is there anyway to overwrite the default windows shorcuts in c++? I.E. win key + E is explorer.
Then do a hotkey in prog that is win key + E and assign it something else.
Can this be done in c++? Or is it some sort of reg hack (still can be done in c++, though a little more code)? Is this possible? Because I read in several locations that C++ has the most power over the system, accessing it, etc.

--------------
"Ask a question and your a fool for three minutes, don't ask it and your a fool for a lifetime." -Chinese Proverb

Xerxes Dynatos
 
use SetWindowsHook

Ion Filipski
1c.bmp
 
Would anyone like to expound on its usage? MSDN is useless and I found no other resources that even mentions it. Sorry for the ignorosity.

--------------
"Ask a question and your a fool for three minutes, don't ask it and your a fool for a lifetime." -Chinese Proverb

Xerxes Dynatos
 
No it ain't. It makes no sense and there are no examples. I just can't grasp hooks (ha) with a bunch of jibberish nonsense that makes no sense. I tried to write a program doing just what msdn says, and it don't work. Every time I try to figure out something from msdn it never works.

--------------
"Ask a question and your a fool for three minutes, don't ask it and your a fool for a lifetime." -Chinese Proverb

Xerxes Dynatos
 
What I really mean to say is: How does this integrate with hotkeys? I mean after do all that stuff, how do define it for a registered hotkey?

--------------
"Ask a question and your a fool for three minutes, don't ask it and your a fool for a lifetime." -Chinese Proverb

Xerxes Dynatos
 
"If some one point you to the moon and you look at the finger you will not see the moon." -- Bruce Lee

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top