By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,780 Members | 1,118 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,780 IT Pros & Developers. It's quick & easy.

Binding Keys

iam_clint
Expert 100+
P: 1,208
I have been looking around for a way to bind a key such as f12 to run a function in my program but i want the key to globally run the function such as i am in this IE window and press f12 my function in my app will run if you have any links or help on this i would appreciate it. Can't find much about binding keys the way i am doing it now is basicly making my program a keylogger.
Nov 22 '06 #1
Share this Question
Share on Google+
3 Replies


sivadhas2006
100+
P: 142
Hi,

Did you try to use the Windows API RegisterHotKey?

Regards,
M.Sivadhas.
Nov 23 '06 #2

100+
P: 267
Hi,

Did you try to use the Windows API RegisterHotKey?

Regards,
M.Sivadhas.
hi

found a link which may be of some interest to you
registerhotkey
Nov 23 '06 #3

iam_clint
Expert 100+
P: 1,208
Thanks for the replies guys i never even thought of that never used it before thanks!
Nov 24 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.