Binding Keys

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iam_clint
    Recognized Expert Top Contributor
    • Jul 2006
    • 1207

    Binding Keys

    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.
  • sivadhas2006
    New Member
    • Nov 2006
    • 142

    #2
    Hi,

    Did you try to use the Windows API RegisterHotKey?

    Regards,
    M.Sivadhas.

    Comment

    • albertw
      Contributor
      • Oct 2006
      • 267

      #3
      Originally posted by sivadhas2006
      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

      Comment

      • iam_clint
        Recognized Expert Top Contributor
        • Jul 2006
        • 1207

        #4
        Thanks for the replies guys i never even thought of that never used it before thanks!

        Comment

        Working...