[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: close event in non modal dialogs
- Subject: Re: close event in non modal dialogs
- From: davidf(at)dfanning.com (David Fanning)
- Date: Thu, 12 Aug 1999 06:13:18 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <37B29B76.4643C80D@nef.wh.uni-dortmund.de>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:16087
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