[python-win32] OnCtlColor not working?

Tim Golden mail at timgolden.me.uk
Mon Mar 2 09:50:22 CET 2009


Greg Ewing wrote:
> Well, it *almost* works now... it's okay for all the
> button styles except BS_PUSHBUTTON.
> 
> My OnCtlColor is still getting called, but the
> pushbutton seems to ignore the results. All the other
> button styles are okay.
> 
> Am I still doing something wrong, or is this a known
> limitation of pushbuttons?


It's a known limitation; or, at least, it was back in
1996 when I last tried to do this (on Win95). Maybe
things have changed since then, but maybe not...

TJG


More information about the python-win32 mailing list