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!

How can i broadcast hotkey.

Status
Not open for further replies.

sulacco

Technical User
Nov 8, 2002
74
RU
Hi,ppl. I've got next problem:
1)I want to broadcanst some hot key combination such as
Ctrl+ins+ins. I know that i have to make something like this
but unfortunately something just don't work. What the catch?
Here code goes...
int bu=777;
RegisterHotKey(HWND_BROADCAST,bu,MOD_CONTROL || VK_INSERT || VK_INSERT,NULL);
::SendMessage(HWND_BROADCAST,bu,MOD_CONTROL ,NULL);
...
...
with due respect.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top