Indeed there is, but for whatever reason, setting the option doesn't work.
From: "Borus Gabor" <[EMAIL PROTECTED]>
To: <perl-win32-gui-users@lists.sourceforge.net>
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 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 PROTECTED]>
To: "Jeremy White" <[EMAIL PROTECTED]>; "Howard, Steven (US - Tulsa)"
<[EMAIL PROTECTED]>; <perl-win32-gui-users@lists.sourceforge.net>
Sent: Wednesday, June 04, 2003 2:21 PM
Subject: RE: [perl-win32-gui-users] XP color and prototype mismatch
problems
> 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 => 'loginInfoBox',
> -height => 250,
> -width => 250,
> -text => "Login Info",
> -pos => [($dw - 250)/2, ($dh -
> 250)/2],
> -style => WS_POPUP |
> WS_VISIBLE | WS_CAPTION | WS_SYSMENU,
> -exstyle => WS_EX_APPWINDOW,
> -color => 16,
>
> );
>
> Thanks again
>
> Steve H.
>
> -----Original Message-----
> From: Jeremy White [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 04, 2003 7:04 AM
> To: [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net
> Subject: Re: [perl-win32-gui-users] XP color and prototype mismatch
problems
>
> >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 window to 16
-
> works with older versions of windows to.
>
> Cheers,
>
> jez.
>
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger today!
> http://www.msn.co.uk/messenger
> - This message (including any attachments) contains confidential
information
> intended for a specific individual and purpose, and is protected by
aw. -
> If you are not the intended recipient, you should delete this message
and
> are hereby notified that any disclosure, copying, or distribution of
this
> message, or the taking of any action based on it, is strictly
prohibited.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>
>
>
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger