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

Home » Public Forums » archive » Re: Closing out of a Window
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: Closing out of a Window [message #50347 is a reply to message #50346] Thu, 28 September 2006 09:41 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ChristopherFlorio@gmail.com writes:

> Does anyone know of a way to link the event of closing a GUI window
> using the "x" with a procedure or function?

I'm guessing you want to do this because your "cleanup"
code is in your EXIT button event handler. This is the
wrong place to put it. Rather, your "cleanup" code should
be in a CLEANUP (if you assign it to the TLB with XMANAGER)
or KILL_NOTIFY (if to assing it with the KILL_NOTIFY keywword)
callback procedure that is called when the widget associated
with the callback is killed.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL on Ubuntu?
Next Topic: Re: How can i get the co-ordinates of the peaks in a plot?

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

Current Time: Fri Oct 10 14:21:12 PDT 2025

Total time taken to generate the page: 0.24150 seconds