[Everything below relates 0.0.670]

Re: this post over at PerlMonks:
http://www.perlmonks.org/index.pl?node_id=370447

Is the -color of Win32::GUI::Class broken for anything other than system colors?

According to the code, this should work:
my $clsColor = Win32::GUI::Class->new(
    -name => "classColor",
    -color => [23, 12, 32],
    ) or die("Could not create Class\n");

(it dies)

Also, a color like "#FFCCFF" should work, but doesn't. The -color also can't take a Brush object as the docs indicate would be supported (but the code doesn't (the SvCOLORREF function)). None of this works for me.

Actually, the -background option of a Window seems to behave the same, but it also uses SvCOLORREF.


Or is it just me? :)


/J
-------- ------ ---- --- -- --  --  -     -     -        -          -
Johan Lindström    Sourcerer @ Boss Casinos   johanl AT DarSerMan.com

Latest bookmark: "Oracle9i, Locally Managed Tablespaces (LMT) - E..."
<http://www.praetoriate.com/oracle_tips_storage_parameters.htm>
dmoz (1 of 6): /Computers/Programming/Languages/PL-SQL/ 50


Reply via email to