Re: keayboard events in draw widgets [message #31806] |
Mon, 19 August 2002 09:14 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Rick Towler (rtowler@u.washington.edu) writes:
>>> lyubo (lzagorch@cs.wright.edu) writes:
>>> Besides using a hidden text widget is there any other way of catching
>>> keyboard events in draw widgets?
>
>> No.
>
>
> Always the pessimist....
As it happens, the correct answer is probably, "No, not
in any *current* version of IDL." :-)
Cheers,
David
P.S. Let's just say if you absolutely need this capability
you may want to be sure your maintenance contract is up
to date. :-)
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: keayboard events in draw widgets [message #31808 is a reply to message #31806] |
Mon, 19 August 2002 08:45  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
> "David Fanning" <david@dfanning.com> wrote:
>> lyubo (lzagorch@cs.wright.edu) writes:
>> Besides using a hidden text widget is there any other way of catching
>> keyboard events in draw widgets?
> No.
Always the pessimist....
I am working on finishing up a win32 only dlm that provides access to
keyboard, mouse and gameport devices using direct input. The only drawback
is that you poll the devices. I run most all of my GUI apps with a timer so
this is exactly what I want but it probably isn't the way most people
structure their apps. I should be finished with it by the end of the week.
This does bring us to a question I was mulling. If I wanted to enable
device input to trigger events in IDL, how does a dlm callback into IDL?
-Rick
|
|
|
|