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

From: Jeff Johnson [MVP: VB] (i.get_at_enough.spam)
Date: 06/10/04


Date: Thu, 10 Jun 2004 16:56:07 -0400


"<"}}>< <"}}>< <"}}><" <mudrat_detector@sbcglobal.net> wrote in message
news:onOxc.5257$st.2050@newssvr23.news.prodigy.com...

> However, in the past 20 years, I have redefined function keys to perform
the
> tasks I mentioned earlier in three seperate ways, none of which had
anything
> to do with a built in "macro" facility of AutoCAD. When DOS was the only
> option, ansi.sys and a batch file of ansi escape sequences did the job.
In
> the early days of Windows, recorder.exe did the job. And recently, since
> recorder.exe is no longer part of the Windows XP installation, I have been
> using a product called Macro Express [ www.macroexpress.com ].

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.



Relevant Pages

  • Re: VB6 - can I remap keys? - - CLARIFICATION
    ... a half a chance... ... >> the early days of Windows, ... > You need to look into the concept of keyboard hooks. ... > monitor for function keys via the hook, ...
    (microsoft.public.vb.general.discussion)
  • Re: Function keys in Pocket PC emulator
    ... some of your PC's function keys are remapped by the ... Windows Mobile keyboard driver into softkeys... ... Have you considered building a Windows CE 5.0 image for the DeviceEmulator? ...
    (microsoft.public.windowsce.embedded)
  • Re: Disable the Comination Keys Strokes in C#
    ... generally involve not giving the user access to the application (the ... very special, high-priority-override meaning in Windows. ... mechanism was used by malicious software. ... Some of the other combinations might be interceptable by keyboard hooks or ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: DOS program on XP Pro
    ... Anyone have any ideas how I can get this database to print on XP? ... next...paste directly into any windows app, ... entirely with function keys and up/down keys. ... I use a program "dosprn" to allow printing from an amortization ...
    (microsoft.public.windowsxp.basics)
  • Realbasic - 10 years later - and still no Function Key Menu support
    ... As you know Window application use function keys. ... For example, F1, is used in almost all Windows ... menu you are suppose to be able to assign to menuitems a shortcut, ... properties window/pallet doe snot let you assign function keys to the ...
    (comp.lang.basic.realbasic)