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

Home » Public Forums » archive » Canceling or clearing TIMER events
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
Canceling or clearing TIMER events [message #55758] Fri, 07 September 2007 07:34
M. Katz is currently offline  M. Katz
Messages: 69
Registered: May 2005
Member
I'm wondering if there's a good or accepted way to cancel
widget_control, TIMER events. I use TIMER events to perform tasks a
few seconds to a minute into the future.

Currently, I'm using TIMER to perform some kinds of automation, when a
series of events is repeated in a GUI without the user needing to be
involved. When the user clicks a 'stop' button, a stop_requested flag
is set. Then when the timer event arrives, no action is performed if
stop_requested is true. I would prefer to also just cancel the TIMER
events that are floating around out there.

The IDL Help explanation of CLEAR_EVENTS isn't clear enough to say
whether it applies in this case. I can envision a case where the user
closes the widget, and then the event arrives all dressed up with
nowhere (no valid widget IDs) to go.

Thanks,
M.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: C/C++ integration with IDL
Next Topic: Re: Image overlapping

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

Current Time: Fri Oct 10 12:02:45 PDT 2025

Total time taken to generate the page: 0.48089 seconds