I got it working thanks to help from Jez. I had accidentally commented out the Win32::GUI::DoEvents() line. Doh...
Thanks for all the help! Brian Millham This message traveled at least 44,000 miles to reach you! [EMAIL PROTECTED] -----Original Message----- From: Bret Swedeen [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 8:43 AM To: perl-win32-gui-users@lists.sourceforge.net; Brian Millham Subject: RE: [perl-win32-gui-users] The splashscreen example Sorry if this question sounds dumb, but what version of Win32GUI are you using? I remember trying the splash screen example with the version of Win32GUI that installs from ActiveState, and the example didn't work. I made a minor adjustment to the code and it worked. Once I upgrade to the latest version of Win32GUI, the example worked without any modification at all. On 12 Dec 2004 at 11:31, Brian Millham wrote: > I've tried several different bitmaps, and none of them work. I just > created a simple 100x100 256 color bitmap, and it won't display. I am > attempting to display it in a label. I've also tried displaying it in > a button, no luck. > > Brian Millham > This message traveled at least 44,000 miles to reach you! > [EMAIL PROTECTED] > > -----Original Message----- > From: Jez White [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 12, 2004 8:36 AM > To: Brian Millham; perl-win32-gui-users@lists.sourceforge.net > Subject: Re: [perl-win32-gui-users] The splashscreen example > > Hi, > > I've seen the splashscreen work on a wide range of screen resolutions > and depths, so I would be surprised if that was the problem. Perhaps > there is something wrong with the bitmap - can you display the bitmap > in a label? > > I wonder if splash screen functionality of some sort should be added > directly to win32::gui? > > Cheers, > > jez. > ----- Original Message ----- > From: "Brian Millham" <[EMAIL PROTECTED]> > To: <perl-win32-gui-users@lists.sourceforge.net> > Sent: Sunday, December 12, 2004 1:58 AM > Subject: [perl-win32-gui-users] The splashscreen example > > > > I've tried to use the Splash Screen example that Jez sent to the > > list about a month ago. The sample runs, but I don't see my bitmap. > > The splash screen pops up, but it's empty. I know that the bitmap > > is being read, as if I add code to print the height & width I see > > the proper size for the bitmap I'm trying to use. I've tried > > several different bitmaps, but none of them work. > > > > I just cut & pasted the code, with no changes (other that the name > > of the bitmap file) > > > > Any ideas? Could it be caused by my screen resolution (I run > > 1280x1024, 32bit true color)? > > > > Oh, and I have run perl -w, but there are no warnings. > > > > Brian Millham > > This message traveled at least 44,000 miles to reach you! > > [EMAIL PROTECTED] > > > > --- > > avast! Antivirus: Outbound message clean. > > Virus Database (VPS): 0450-1, 12/09/2004 > > Tested on: 12/11/2004 8:58:38 PM > > avast! is copyright (c) 2000-2003 ALWIL Software. > > http://www.avast.com > > > > > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real > > users. Discover which products truly live up to the hype. Start > > reading now. http://productguide.itmanagersjournal.com/ > > _______________________________________________ Perl-Win32-GUI-Users > > mailing list Perl-Win32-GUI-Users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > --- > avast! Antivirus: Outbound message clean. > Virus Database (VPS): 0450-1, 12/09/2004 > Tested on: 12/12/2004 11:31:04 AM > avast! is copyright (c) 2000-2003 ALWIL Software. > http://www.avast.com > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. Discover which products truly live up to the hype. Start > reading now. http://productguide.itmanagersjournal.com/ > _______________________________________________ Perl-Win32-GUI-Users > mailing list Perl-Win32-GUI-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0451-0, 12/13/2004 Tested on: 12/13/2004 7:48:47 PM avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com