[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error on shutdown of widget !@$%
- Subject: Re: Error on shutdown of widget !@$%
- From: Reimar Bauer <r.bauer(at)fz-juelich.de>
- Date: Wed, 11 Apr 2001 12:00:42 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: Forschungszentrum Juelich GmbH
- References: <9auh37$9i2$1@newshost.accu.uu.nl>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:24498
Sean Heukels wrote:
>
> How do I get rid off, or catch this error ??
>
> When I shutdown my widget program by clciking exit, in my menubar, I can
> reset colors, structures, the whole thing.
> But when I click the Top-right-cross (Windows) And top-left=box on Unix,
> which shutsdown the current process, I get an error by widget_event,
> that this one ('named by number') is not defined.
>
> I wish to clean up the variables that I clean on pushing exit in the same
> way and dont want 2 create errors.
>
> How can this be done ??
>
> Thnks Sean
Another posibilty instead of KILL_NOTIFY described by Marc
is to supress this feature.
This is done by the keyword TLB_FRAME_ATTR to widget_base()
Value Meaning
1 Base cannot be resized, minimized, or maximized.
2 Suppress display of system menu.
4 Suppress title bar.
8 Base cannot be closed.
16 Base cannot be moved.
regards
Reimar
--
Reimar Bauer
Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
=============================================
a IDL library at ForschungsZentrum Jülich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.html
http://www.fz-juelich.de/zb/text/publikation/juel3786.html