| Keyboard Events on Windows [message #39198] |
Tue, 27 April 2004 09:31 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
I'm trying to collect keyboard events in a draw widget in
IDL 6.x with Windows 2000 Pro. I have set the KEYBOARD_EVENTS
keyword to 2, and I am collecting keyboard events, sure enough.
What I cannot do, so far, is collect the correct key when I
try something like CNTL-s. The ASCII character reported from
this formulation is number 19, which is listed in the Standard
ASCII chart as "Device control 3". I have no trouble with SHIFT-s.
(ALT-s just beeps at me as if I were trying to do something that
would seriously damage the computer. Sigh...)
Any ideas why I can't get CONTROL sequences into my event
handler properly?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
|