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

Home » Public Forums » archive » Re: Deleting cgSurface windows
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: Deleting cgSurface windows [message #80003] Thu, 26 April 2012 08:11
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Deleting cgSurface windows
Next Topic: printf function meaning and applications?

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

Current Time: Wed Oct 08 18:52:12 PDT 2025

Total time taken to generate the page: 0.00469 seconds