primus has asked for the wisdom of the Perl Monks concerning the following question:
for the class i have found that i can use a BRUSH object or COLOR value... though i seem to be restricted to 5 colors... (1-5). if you put a 0 in, the background is kinda transparent... and the others are weird shades of blue and red... i really just want to set the background to white, but i cant figure it out...#!/usr/bin/perl use warnings; use strict; my $main_class = new Win32::GUI::Class( -name => "temp_Class", -color => 5, # i think 5 is the default window color, it seem +s i can only go on a scale from 1-5 ); my $main = new Win32::GUI::Window( -name => 'Main', -title => 'test', -width => '325', -height => '310', -minsize => ['300', '310'], -class => $main_class, -style => WS_OVERLAPPEDWINDOW, ); $main->Show(); Win32::GUI::Dialog();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: another Win32::GUI question
by PodMaster (Abbot) on Jan 30, 2003 at 06:39 UTC | |
|
Re: another Win32::GUI question
by BrowserUk (Patriarch) on Jan 30, 2003 at 07:25 UTC | |
|
Re: how do I change window background colors in Win32::GUI?
by dada (Chaplain) on Feb 11, 2003 at 14:41 UTC |