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

Home » Public Forums » archive » Re: selection box in widget program
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: selection box in widget program [message #55988 is a reply to message #55987] Wed, 26 September 2007 10:07 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

>> What I want to do, essentially, is temporarily have all of the motion
>> and button click events handled by the drawbox routine. This way I
>> can loop on a call to widget_event, obtaining all of the mouse events,
>> and continually redrawing the selection box, until the user is done.
>> So, what I am going to try to do is UNSET the EVENT_PRO keyword to the
>> draw widget, loop on widget_event as described, and then re-set the
>> EVENT_PRO keyword to the original event handler.
>>
>> Is this how people usually go about handling these situations?
>
> No. This is how people who don't fully understand widget programming
> yet go about it. :-)

On the other hand, this is how David Stern used to write widget
programs, which drove me to distraction. Maybe this is how people
on either end of the widget programming spectrum write widget
programs. But the vast majority of us work out something a whole
lot easier. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Order of argument evaluation (Was: Re: making a checkerboard array?)
Next Topic: Reading Excel written .dll files into IDL

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

Current Time: Fri Oct 10 05:10:40 PDT 2025

Total time taken to generate the page: 1.19869 seconds