From: Michael Alaly <mike@fl...> - 2002-10-23 18:51:53
I'm using .665 and perl 5.61.
I have not been able to determine how to get controls to inherit
any color other than the color defined for
COLOR_3DFACE/COLOR_BTNFACE in the user's configuration.
Using the -foreground and -background attributes works for the
few controls that support these properties. However, many
controls (checkboxes, buttons, tabstrips) have no color control
as far as I can tell.
Am I missing something? I messed around with trying to create a
new class for each control with the -color attribute of the
window set but it appears that the subclassing doesn't work?
I did some poking around in the SendMessage info on MSDN and
tried to find a way to maybe use SendMessage to change the
control color but I couldn't quite understand how to do it ;)
Any help here would be appreciated, the goal is to create an
application with colors that I define rather than colors taken
from the users default color scheme. Is this even possible?