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

Home » Public Forums » archive » Re: Graphic Window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Graphic Window [message #12008] Thu, 18 June 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Bernard Puc (puc@gsfc.nasa.gov) writes:

> Is there a way to verify that the graphics window associated with a
> given ID number is still open and valid?

On Windows and UNIX machines you can use the WINDOW_STATE keyword
to the DEVICE command. It will return an array containing one
element for each possible window. Array element j contains a 1
if window j is open, otherwise it contains a 0.

IDL> Device, Window_State=theseWindows
IDL>Print, 'Open Windows: ', Where(theseWindows EQ 1)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: WHat the bloody hell?
Next Topic: image segmentation

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

Current Time: Wed Oct 08 17:47:12 PDT 2025

Total time taken to generate the page: 0.00629 seconds