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

Home » Public Forums » archive » Re: close event in non modal dialogs
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: close event in non modal dialogs [message #16715] Thu, 12 August 1999 00:00
Thorsten Holtkaemper is currently offline  Thorsten Holtkaemper
Messages: 6
Registered: August 1998
Junior Member
wbiagiot@suffolk.lib.ny.us wrote:
>
> Thorsten Holtkaemper <tholt@nef.wh.uni-dortmund.de> wrote:
>> I'm seraching for a method to catch the close event that is produced,
>> when an IDL-Window is closed by the close button of the window frame,
>> in a non modal dialog.
>> Any ideas?
>
> How about using the TLB_KILL_REQUEST_EVENTS option in the Widget_Base
> call? Check the online help.

Fine, that's it! Thank you very much! :-)

Regards,
Thorsten.
Re: close event in non modal dialogs [message #16716 is a reply to message #16715] Thu, 12 August 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Thorsten Holtkaemper (tholt@nef.wh.uni-dortmund.de) writes:

> I'm seraching for a method to catch the close event that is produced,
> when an IDL-Window is closed by the close button of the window frame, in
> a non modal dialog.

Typically, I handle widget destroy events like this with a CLEANUP
routine. I assign this to the top-level base by using the
CLEANUP keyword to the XMANAGER command. By doing this, I don't
care if my widget is killed by the QUIT button or by the user
wielding a mouse. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: close event in non modal dialogs [message #16720 is a reply to message #16715] Thu, 12 August 1999 00:00 Go to previous message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
Thorsten Holtkaemper <tholt@nef.wh.uni-dortmund.de> wrote:
> Hallo,
> I'm seraching for a method to catch the close event that is produced,
> when an IDL-Window is closed by the close button of the window frame,
in
> a non modal dialog.
> Any ideas?


How about using the TLB_KILL_REQUEST_EVENTS option in the Widget_Base
call? Check the online help.

Bill B.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Concatenate elements of string array
Next Topic: Re: interfacebuilder

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

Current Time: Sat Oct 11 08:03:41 PDT 2025

Total time taken to generate the page: 0.87667 seconds