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

Home » Public Forums » archive » how do I delete ENVI windows from a procedure?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
how do I delete ENVI windows from a procedure? [message #38548] Tue, 16 March 2004 10:20
timothy.williams is currently offline  timothy.williams
Messages: 20
Registered: October 2001
Junior Member
I have a ENVI/IDL procedure that performs various steps in some
processing. One of the steps is to do a couple of envi_display_bands
calls to display a couple of images. After the user is done with
enhancing the image displays, I have the user click a button to
continue on with more processing. This extra processing calls a second
IDL procedure that puts up more windows (not ENVI displays).

When the second IDL procedure is done, I do a wdelete on each of the
windows it created, since I have the window ids. I'd like to be able
to remove the ENVI images and their associated displays. I can get the
display numbers, window ids and the opened file ids with
envi_get_display_numbers(), envi_disp_query, and do a wdelete on the
window ids, and a envi_file_mng on the file ids, but I want to avoid
the popup window about deleting the display when I remove each ENVI
file.

What I want to do is the same thing as a 'File->Close All Files' in
the Available Files List widget from my procedure.

Is there a way to do this?

Thanks.
[Message index]
 
Read Message
Previous Topic: change perspective in 3d-plot
Next Topic: Re: change perspective in 3d-plot

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

Current Time: Fri Oct 10 03:42:23 PDT 2025

Total time taken to generate the page: 0.16118 seconds