[perl-win32-gui-users] XP color and prototype mismatch problems

2003-06-04 Thread Howard, Steven (US - Tulsa)
In XP, when I create a GUI in Perl, the background color is always white. This looks very bad. How do I change the background color to the windows gray? Also, anytime I add the use Win32::GUI; line to the script, exporter generates numerous warnings about prototype mismatches. These are not gener

Re: [perl-win32-gui-users] Bitmap invisible...

2003-06-04 Thread Jeremy White
I had the same problem a while ago - I was also using 98. I was dynamically creating an image which I then needed to display. I couldn’t get it working and had to use combination of Graphic and Win32::GUI::DIBitmap instead. I do remember having some success in using a button, but not the label.

Re: [perl-win32-gui-users] XP color and prototype mismatch problems

2003-06-04 Thread Jeremy White
In XP, when I create a GUI in Perl, the background color is always white. This looks very bad. How do I change the background color to the windows gray? I believe this has been fixed in the new version of win::gui - but it hasn't been release yet. For the time being, set the color of the windo

RE: [perl-win32-gui-users] XP color and prototype mismatch problems

2003-06-04 Thread Frazier, Joe Jr
This is "ussually" caused by the use of both lines : use Win32; use Win32::GUI; Both of these files export the same contacts (this is one of the reasons the perlmodlib specifically state that exporting things automatically is generally a bad practice.) . If you have use Win32 in your script,

RE: [perl-win32-gui-users] XP color and prototype mismatch problems

2003-06-04 Thread Jeremy White
this should work: use Win32::GUI; my $loginInfoBox = new Win32::GUI::DialogBox ( -name => 'loginInfoBox', -height=> 250, -width => 250, -text

RE: [perl-win32-gui-users] XP color and prototype mismatch proble ms

2003-06-04 Thread Howard, Steven (US - Tulsa)
Great! Thank you! Steve H. -Original Message- From: Jeremy White [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 7:31 AM To: [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net Subject: RE: [perl-win32-gui-users] XP color and prototype mismatch problems this should wo

RE: [perl-win32-gui-users] XP color and prototype mismatch proble ms

2003-06-04 Thread Howard, Steven (US - Tulsa)
Thank you for the response, Jeremy. Sounded easy, but the change I made did not make any difference to the appearance of the dialog box. Here is the definition of the Dialog Box. What am I missing to get this to work? my $loginInfoBox = new Win32::GUI::DialogBox ( -name

Re: [perl-win32-gui-users] XP color and prototype mismatch problems

2003-06-04 Thread Borus Gabor
Hello There's a big difference between creating a new class: -class =>Win32::GUI::Class->new(-name => "classxpcolour",-color => 16), and set an option (-color)! See the Win32::GUI documentation for Class... Regards Gabor - Original Message - From: "Howard, Steven (US - Tulsa)" <[EMAIL

Re: [perl-win32-gui-users] XP color and prototype mismatch problems

2003-06-04 Thread Jeremy White
Indeed there is, but for whatever reason, setting the option doesn't work. From: "Borus Gabor" <[EMAIL PROTECTED]> To: Subject: Re: [perl-win32-gui-users] XP color and prototype mismatch problems Date: Wed, 4 Jun 2003 16:54:01 +0200 Hello There's a big difference between creating a new cla