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

Home » Public Forums » archive » Re: Is that window open??
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: Is that window open?? [message #8573 is a reply to message #8570] Wed, 02 April 1997 00:00 Go to previous messageGo to previous message
Tim Patterson is currently offline  Tim Patterson
Messages: 65
Registered: October 1995
Member
Sorry if I'm on the wrong track, but wouldn't a window ID
being closed ina widget program also imply that the
container widget has disappeared too? Couldn't you check for
the widget existing still (I presume you're worried about
the user closing the window using the Window manager menu
rather than letting the program close it).

Tim



Phil Williams wrote:
>
> How would I check to see if a window ID is still open in a widget
> program?
>
> Here's what I did
> oldwin = !d.window
> wset, info.wid
>
> ; some code here
>
> ;--- restore the oldwin
> wset, oldwin
>
> and it crashes with
> % WSET: Window is closed and unavailable.
>
> Thanks,
> Phil
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: file paths
Next Topic: Re: ANY LINUX IDL USERS?

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

Current Time: Mon Dec 01 14:04:11 PST 2025

Total time taken to generate the page: 0.39956 seconds