It's actually non-trivial :) You need to define your own "class" (not an OO class) and assign the color to it, then assign the "class" to your window. This is roughly how to do it:
my $clsColor = Win32::GUI::Class->new(
-name => "classColor",
-color => 2,
) or die("Could not create Class\n");
And when you create the window, add the option
-class => $clsColor,
If you happen to use The GUI Loft, I stole this snippet from the demo program FetchURL. It's a bit different, so copy the demo program and go from there.
/J
|