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

Home » Public Forums » archive » Displaying bitmap pictures
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
Displaying bitmap pictures [message #29271] Tue, 12 February 2002 13:18 Go to next message
redlmg98 is currently offline  redlmg98
Messages: 6
Registered: August 2001
Junior Member
I'm sure this is an easy problem to solve, but I am still in the
process of familiarizing myself with IDL...I made a logo which is in
bitmap form. I would like to display it on my widget base. How
exactly do I do this?

Cheers,
Lisa Gandy
redlmg98@hotmail.com
Re: Displaying bitmap pictures [message #29369 is a reply to message #29271] Tue, 12 February 2002 16:11 Go to previous message
btupper is currently offline  btupper
Messages: 55
Registered: January 2002
Member
On 12 Feb 2002 13:18:30 -0800, redlmg98@hotmail.com (Lisa Gandy)
wrote:

> I'm sure this is an easy problem to solve, but I am still in the
> process of familiarizing myself with IDL...I made a logo which is in
> bitmap form. I would like to display it on my widget base. How
> exactly do I do this?

Hi,

You should make a draw widget whose parent is your base widget. After
the base widget is realized, set the current window display to the
window contained by the image and then display the image. Something
like the following.

MyBase = Widget_Base(title = .....)
MyDraw = Widget_Draw(MyBase, xs = ....)
Widget_Control, MyBase, /Realize
Widget_Control, myDraw, Get_Value = myDrawWinNumber ;<--- important
Wset, myDrawWinNumber
TV, myImage

But really, you should get Liam Gumley's book (www.gumley.com) or
David Fanning's (www.dfanning.com). Each is just the kind of guide
you will need. Money well spent.

Ben
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: how to debug a IDL DLM routine
Next Topic: Re: array of objects?

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

Current Time: Sun Oct 12 06:30:16 PDT 2025

Total time taken to generate the page: 1.60012 seconds