Results 1 to 3 of 3

Thread: How to use hotkeys when form not focused

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Location
    Sweden
    Posts
    173

    Question How to use hotkeys when form not focused

    Does anyone no the code for building hotkeys that works when the program isn't in focus?

    Please help!

    //Alex

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Re: How to use hotkeys when form not focused

    Use the RegisterHotKey api function.
    You can find an example here
    Frans

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Location
    Sweden
    Posts
    173

    Lightbulb Re: How to use hotkeys when form not focused

    thanks a lot! it works (almost) perfect!

    it's only when the program is very busy, then it can't catch the hot keys

    //Alex

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width