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

Home » Public Forums » archive » Re: Hiding the Zoom in ENVI
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: Hiding the Zoom in ENVI [message #60400 is a reply to message #60399] Tue, 13 May 2008 13:10 Go to previous messageGo to previous message
Mort Canty is currently offline  Mort Canty
Messages: 134
Registered: March 2003
Senior Member
David Fanning schrieb:

> Well, "vanish" is not what is meant by "hide", I don't
> think. When the documentation says "show", they mean
> bring the window to the front of the window stack. When
> they say "hide", they mean move it down in the window
> stack. It doesn't "vanish".
>
> Maybe you want to make an icon of the window. That will
> take it off the display and move it to the application bar
> at the bottom (usually) of the display. Set the ICONIFY
> keyword to WSHOW.
>
> Cheers,
>
> David

Well, the documentation says

"The WSHOW procedure exposes or hides the designated window."

and in the case of my window 12 example, it indeed "vanishes". Anyway,
here's the context:

PRO VIEWSEG_RUN, event
widget_control, event.top, get_uvalue=dn
envi_disp_query, dn, fid=fid, w1=w1, color=color
wshow, w1[1], 0 ; nothing happens
...
...

I call this from the ENVI display menu, so dn is is the number
corresponding to the display group, consisting of the image window (with
the display menu at the top), the zoom window (which I want to hide) and
the scroll window.

The reason I want to do this, is that I want to copy the content of the
image window to a pixmap _without_ the little red square that marks the
current position of the scroll window. Maybe that won't work anyway.
It's getting late in Old Germany ...

Cheers

Mort
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to specify xyz-coordinates of the grid for ivolume
Next Topic: Questions on the subject of Interpolation

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

Current Time: Sat Oct 11 10:31:18 PDT 2025

Total time taken to generate the page: 0.24033 seconds