in reply to how do I change window background colors in Win32::GUI?

On my NT4 system, the numbers appear to relate to the currently loaded ColorScheme (PaletteScheme) as defined in Start->Settings->Control Panel->Display on the Appearance tab.

For instance, using a value of 2 fills the window's background with the same bitmap as I have on my desktop and 3 seems to be the color selected for ActiveWindow (titlebar color).

There is probably a set of constants define somewhere that relate the numbers to these values.

Hope this helps.


Examine what is said, not who speaks.

The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.