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

Home » Public Forums » archive » Re: How to know a window id is valid
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: How to know a window id is valid [message #7082 is a reply to message #7072] Thu, 19 September 1996 00:00 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
gfu@shark.gsfc.nasa.gov (Gary Fu) writes:

> Hello,

> Is there a command to tell that a window id created by a
> draw window widget is valid for WSET to use ?

The call

DEVICE, WINDOW_STATE=WIN_STATE

returns an array into the variable WIN_STATE, with 0 for windows that don't
exist, and 1 for windows that do. One can then use a statement like

VALID = WIN_STATE(WINDOW_ID)

to return whether or not the window is valid.

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: BEYOND TECHNOLOGY
Next Topic: Re: Drawing axes for volumetric data

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

Current Time: Sat Oct 11 03:14:38 PDT 2025

Total time taken to generate the page: 1.12030 seconds