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

Home » Public Forums » archive » Close window command?
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: Close window command? [message #49491 is a reply to message #49395] Mon, 24 July 2006 12:50 Go to previous message
mchinand is currently offline  mchinand
Messages: 66
Registered: September 1996
Member
In article <1153769529.483637.316050@h48g2000cwc.googlegroups.com>,
<adisn123@yahoo.com> wrote:
> Hello,
>
> My program generates 4 different images in 4 different window in one
> operation.
>
> It is quite tedious to close every window after display to run the
> program again after I change some
>
> parameters in the program in order to see new 4 images.
>
> I'm wondering there is a way to kill/close the old windows when the
> program starts over.
>
> Thank you.
>

This should delete all open windows:

IDL> while !D.WINDOW ne -1 do wdelete

if you know the window indices of the four windows your program creates, you can do:

IDL> wdelete, w_ind1, w_ind2, w_ind3, w_ind4

where w_ind1, w_ind2, ... correspond to the window indices of your open windows.

Hope that helps,

--Mike


--
Michael Chinander
m-chinander@uchicago.edu
Department of Radiology
University of Chicago
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Deleting a variable from a NetCDF file
Next Topic: Re: Precision Problem

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

Current Time: Thu Oct 09 02:49:22 PDT 2025

Total time taken to generate the page: 0.08113 seconds