Re: Deleting cgSurface windows [message #80003] |
Thu, 26 April 2012 08:11 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Platten writes:
> I would like to be able to delete all the cgSurface windows that I have open.
>
> I know that I can easily delete all open cgWindows:
> cgDelete, /All
>
> I can also easily delete all open "regular" windows:
> WHILE !D.WINDOW NE -1 DO WDELETE, !D.WINDOW
>
> Is there an equivalent for windows that are created with cgSurface? I know that cgSurface isn't really just a window, but it would be really useful to be able to programmatically delete them.
Widget_Control, /Reset
Will get rid of all widget windows, including cgSurface windows.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|