comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: keayboard events in draw widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: keayboard events in draw widgets [message #31806] Mon, 19 August 2002 09:14
David Fanning is currently offline  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 Go to previous message
Rick Towler is currently offline  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
Re: keayboard events in draw widgets [message #31814 is a reply to message #31808] Sun, 18 August 2002 08:39 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.

Cheers,

David
--
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: UNCOMPRESS files on PCs
Next Topic: Re: Hough transform help

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 20:18:30 PDT 2025

Total time taken to generate the page: 2.00066 seconds