You are right it was a typo. I it is spelt wrong in the documentation, i just cut and pasted it. Although that was not the cause of my problem
Jason Plum wrote: > > I have often used the Win32::GUI::Icon lib to load my images for my > buttons. > > > Also, and this may have only been a typo, but did you mean IDBITMAP and > not > IDBITAMP in the LoadImages call? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > mikemc > Sent: Wednesday, May 09, 2007 9:53 AM > To: perl-win32-gui-users@lists.sourceforge.net > Subject: [perl-win32-gui-users] Toolbar bitmaps > > > I am experimenting with toolbars now. Using an example from a previous > thread > i have set up the toolbar to display a bitmap inline graphic. > > I am now trying to see what default bitmaps are availiable i am using the > LoadImages method > > $TB->LoadImages(["IDBITAMP"=>IDB_HIST_LARGE_COLOR],["HINSTANCE"=>HINST_COMMC > TRL]); > > Then to create the buttons > > $TB->AddButtons(2, > (0, 0, TBSTATE_ENABLED ,TBSTYLE_BUTTON, 0), > (1, 1, TBSTATE_ENABLED, TBSTYLE_BUTTON, 1) > ); > > But i am not seeing any bitmap in the toolbar just a blank button and my > tooltip. I create the toolbar as follows > > my $TB = $main->AddToolbar( > -name => 'TB', > -height => 25, > -flat => 1, > -pushstyle => TBSTYLE_LIST, > -pushstyle => TBSTYLE_TOOLTIPS, > -onButtonClick => \&TB_Click); > > Has any one else tried this or should i stick to the bitmap in line > method. > > If I stick with the bitmap in line are there any good bitmap libraries out > there that can be recommended > > Thanks > Mike > -- > View this message in context: > http://www.nabble.com/Toolbar-bitmaps-tf3715894.html#a10394744 > Sent from the perl-win32-gui-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.467 / Virus Database: 269.6.6/794 - Release Date: 5/8/2007 > 2:23 > PM > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > http://perl-win32-gui.sourceforge.net/ > > -- View this message in context: http://www.nabble.com/Toolbar-bitmaps-tf3715894.html#a10396449 Sent from the perl-win32-gui-users mailing list archive at Nabble.com.