Re: VB6 - can I remap keys? - - CLARIFICATION

From: Michael Culley (mculley_at_NOSPAMoptushome.com.au)
Date: 06/11/04


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

Loading