Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Win32::GUI Window Color?

by frag (Hermit)
on Aug 06, 2002 at 02:24 UTC ( [id://187895]=note: print w/replies, xml ) Need Help??


in reply to Win32::GUI Window Color?

I'm trying to figure this out myself, without the benefit of a Win32 box at hand, but here's what I've found:

While most recent docs (from the source tarball from the sourceforge page) don't list any color attributes that can be set when creating a Window or DialogBox object, there is the 'Class' object, which takes as an attribute "-color => COLOR or Win32::GUI::Brush object the window background color". That should be the key; see 'samples/class.pl' from that tarball for how you get from the Class to the Window/DialogBox.

Also note that you can make a Label object be a bitmap instead of text - and the label can be as big as you need it to be. But a properly tiled background may be a hassle.

There's a mailing list, where you can get a more authoritative answer.

-- Frag.
"Never could stand that dog."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://187895]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-23 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found