Re: VB6 - can I remap keys? - - CLARIFICATION
From: Jeff Johnson [MVP: VB] (i.get_at_enough.spam)
Date: 06/10/04
- Next message: Jeff Johnson [MVP: VB]: "Re: using files in access db"
- Previous message: Jeff Johnson [MVP: VB]: "Re: SQL Fustrations"
- In reply to: <\: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Next in thread: <\: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Reply: <\: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Reply: Michael Culley: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Jeff Johnson [MVP: VB]: "Re: using files in access db"
- Previous message: Jeff Johnson [MVP: VB]: "Re: SQL Fustrations"
- In reply to: <\: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Next in thread: <\: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Reply: <\: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Reply: Michael Culley: "Re: VB6 - can I remap keys? - - CLARIFICATION"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|