Re: VB6 - can I remap keys? - - CLARIFICATION
From: Michael Culley (mculley_at_NOSPAMoptushome.com.au)
Date: 06/11/04
- Next message: Sathian: "scroll bar"
- Previous message: Michael Culley: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- In reply to: Jeff Johnson [MVP: VB]: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Next in thread: Jeff Johnson [MVP: VB]: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Reply: Jeff Johnson [MVP: VB]: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Jun 2004 14:54:41 +1000
"Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message news:OFgOb1yTEHA.3768@TK2MSFTNGP11.phx.gbl...
> You need to look into the concept of keyboard hooks. Your program would
> monitor for function keys via the hook, determine if AutoCAD is the
> foreground application, and then stuff characters into the keyboard buffer
> via the keyboard_event() API function.
vb6 can't do system wide hooks on its own, C is needed. Although I'm not sure about the RegisterHotKey api as I've never used it.
-- Michael Culley
- Next message: Sathian: "scroll bar"
- Previous message: Michael Culley: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- In reply to: Jeff Johnson [MVP: VB]: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Next in thread: Jeff Johnson [MVP: VB]: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Reply: Jeff Johnson [MVP: VB]: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Messages sorted by: [ date ] [ thread ]
Loading