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

Home » Public Forums » archive » Re: Gettng a widget screenshot?
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: Gettng a widget screenshot? [message #21654 is a reply to message #21653] Wed, 06 September 2000 13:04 Go to previous messageGo to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Richard Tyc wrote:
> I am thinking I am missing something simple here but I checked tvrd() and
> widget_info and can't seem to find a way to get the current image of the
> onscreen widget. ie. I have a base widget filled with Draw, sliders, buttons
> etc and I want to get a snapshot at full screen resoution of the realized
> base widget. I am also using Object graphics for the Draw windows. I
> thought by getting the geometry from widget_info(wbasewidget, /Geometry) I
> could specify to tvrd() where to get the image (xo,yo,xsize,ysize) , but
> tvrd works on Windows, not widgets(with windows in them) I guess. (ie. when
> I try this, tvrd pops up a blank 640x512 window (1/4 screen size from my
> preferences) and returns a blank image array?)
>
> Any ideas ? I am trying to animate how my application looks to the user. I
> am using Windows NT4 and IDL 5.3.

(1) Give focus to the widget by clicking on it
(2) Hit Alt-PrintScreen

The clipboard now contains a bitmap image of the widget window. This
works for me in Windows NT4 and 98 (it has nothing to do with IDL).

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SOLVED Re: puzzled with WHERE
Next Topic: Horrible map reprojections

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

Current Time: Wed Oct 08 19:04:53 PDT 2025

Total time taken to generate the page: 0.00385 seconds