Would it be the same as adding an image via AddLabel? I would like it since
the class name is more image-like, and not confusing an image with a label.
Cheers,
Kevin
> -----Original Message-----
> From: Aldo Calpini [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 05, 1998 12:00 PM
> To: Kevin Meltzer; [EMAIL PROTECTED]
> Subject: Re: [perl-win32-gui] Images
>
>
> Kevin Meltzer wrote:
> >But, it isn't hard to make the jpeg or gif into a bmp and show it.
> >
> >$B = new GUI::Bitmap('foo.bmp') or print_and_die("new Bitmap");
> >
> >$BITMAP = $Window->AddLabel(
> > -left => 50,
> > -top => 0,
> > -width => 250,
> > -height => 100,
> > -style => 14 | WS_VISIBLE,
> > -name => "Bitmap",
> >);
>
> while we're here, what do you think about a Win32::GUI::Picture class?
>
> eg.
> $Window->AddPicture(
> -left => 50,
> -top => 0,
> -name => "Bitmap",
> -picture => $B,
> );
>
> -width and -height, of course, should be taken from the
> bitmap itself...
>
> comments are welcome ;-)
>
> Bye,
> Aldo Calpini
> <[EMAIL PROTECTED]>
>
> LIBERA ME DOMINE DE MORTE AETERNA
> IN DIE ILLA TREMENDA
> QUANDO COELI MOVENDI SUNT
> ET TERRA
>
>
>
>