Re: [perl-win32-gui-users] Help? Bitmap not showing up!

2004-10-04 Thread Francesco Rizzi
*shrug* you're **RIGHT** !!! ..and this is the second time today someone tells me "You'll kick yourself..." so I guess I will go and do just that. Thanks for the help ~ I could have spent a month looking at it without thinking about the scope of the bitmap itself ! F. At 08:43 PM 10

Re: [perl-win32-gui-users] Help? Bitmap not showing up!

2004-10-04 Thread Jez White
You'll kick yourself:) I've been stung with something similar. Your problem is related to scope. The bitmap is created correctly, but when InitGUI finishes $logoBitmap is destroyed resulting in no bitmap being displayed. If $logoBitmap is global, it will work:) Cheers, jez. - Original M

[perl-win32-gui-users] Help? Bitmap not showing up!

2004-10-04 Thread Francesco Rizzi
I'm trying to add a bitmap to my GUI. I've looked at the BitmapInline package (http://jeb.ca/perl/win32-gui-docs/index.pl/win32-gui-bitmapinline) to inline the bitmap I should use in my code, and I've looked at the BitmapSample (http://jeb.ca/perl/win32-gui-docs/index.pl/code_samples?wid=62&sid