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." |