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

Home » Public Forums » archive » Re: TVRD() and WRITE_GIF
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: TVRD() and WRITE_GIF [message #18645 is a reply to message #18641] Tue, 25 January 2000 00:00 Go to previous messageGo to previous message
Lazzar is currently offline  Lazzar
Messages: 9
Registered: February 1999
Junior Member
If your working on a MS Windows platform an easy way to do a screen capture of
the current window is ALT-print screen. This places a copy of the current
window to the clipboard then you can just paste it into paint and save it.

Brian

Mark Buckley wrote:

> Hi,
>
> Hopefully this won't turn out to be a dozy question - I'm a bit out of
> practise on IDL at the moment.
>
> Anyway, what I'd like to do is grab a window image, so that I can write it
> out as a GIF.
>
> The difficulty I'm having is that as I'm using widgets, I'm not sure how to
> get the actual window ID for the
> the call to TVRD(), all I seem to get back is the draw widget contents.
>
> e.g.
>
> pro get_window
>
> base = widget_base(/column)
> junk = widget_label(base,value = "Hi")
> draw = widget_draw(base,xsize=200,ysize=300)
> .
> .
> widget_control,base,/realize
> widget_control,draw,get_value = draw_id
>
> res = tvrd()
> help,res
> end
>
> This just returns me an array of the draw widget (200x300), not the whole
> window.
>
> cheers,
>
> Mark
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Listing all top-level widgets
Next Topic: perimeter of a blob

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

Current Time: Fri Oct 10 15:31:46 PDT 2025

Total time taken to generate the page: 8.40028 seconds