Results 1 to 6 of 6

Thread: System wide hotkeys using keyboard hook

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    8
    I want to create a system-wide hotkey using keyboard hook. It shold also be useful if the dll created can be used in VB, could anyone help, or direct me to a online resource to find help on this.

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    If you know C++ make the dll with the hook procedure yourself or else ask someone to make one for you.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3
    Addicted Member rbnwares's Avatar
    Join Date
    Sep 2000
    Location
    Philippines
    Posts
    142
    try vbacceleratior

    www.vbaccelerator.com
    Stupidity is better than cure.

    VB6 SP5 Enterprise Ed.
    C, Pascal, VC++ 6.0


    Running Win98 SE and Win2000 Prof. Ed.


    Email me at : [email protected]

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    8
    Is there anywhere on the net I can find C++ examples of making hooks? I can make one in C++, but needs help with it.

  5. #5
    Guest
    Download the file attached. It is code from Aaron Young using the SetWindowsHookEx and RegisterHotKey API functions.
    Attached Files Attached Files

  6. #6

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    8
    Mathew, thanks for the reply, I havn't had a chance to try this out yet. But can you tell me if this would work in the situation I've mentioned? e.g. when a game is running in full screen mode.

    Chen Ling

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