Have you tried $label->SetImage($win32_gui_bitmap_object)? I find that this doesnt do anything unless you force the image to update. You can do this with:
$label->Redraw(0x0001 | 0x0100); Which invalidates the label rect (0x0001 = RDW_INVALIDATE) - you could also use InvalidateRect to do this - and redraws the label *immediately* (0x0100 = RDW_UPDATENOW). Steve > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Chris > Sent: 19 January 2004 04:12 > To: perl-win32-gui-users@lists.sourceforge.net > Subject: [perl-win32-gui-users] Image change > > > Okay, I've created a label. Now when I first make it, I have > a image set to > it and make it so it can be clicked on. Now, my problem is > when I click on > the image, I actually want to change it to a different image. > If someone > could help me with this, it would be very useful. > > Thanks Chris > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >