Gettng a widget screenshot? [message #21657] |
Wed, 06 September 2000 12:15 |
Richard Tyc
Messages: 69 Registered: June 1999
|
Member |
|
|
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.
Thanks
Rich
|
|
|