| Re: Keyboard Events on Windows [message #39178 is a reply to message #39177] |
Wed, 28 April 2004 03:50   |
Nuno Oliveira
Messages: 75 Registered: October 2003
|
Member |
|
|
You don't have any problems on processing keyboard events? I have an
application that uses keyboard and I think that my application processes two
events instead of one? Have this happened to you? Do you have any idea about
this? Maybe it's code error that I still haven't found. I'm working on that,
but seeing that you were working on keyboard events, I didn't resist putting
the question.
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.1af838b85109808d989730@news.frii.com...
> 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/
|
|
|
|