EVALUATION
Looking through older native applications I cannot find a case where there is a toolbar button that has text. It's always a 16x16 px icon. However we support toolbar buttons with text and previously showed the text in disabled buttons with a different color than enabled text (eg: gray instead of black). Right now the button text will not look disabled, which is why this is a regression. I can build a new app in a recent version of Visual Studio that does have a disabled button, but I can't figure out where they are getting the color from. A new app may be using .NET controls instead of win32, however, which might explain the discrepancy. The best way to handle this is to use the non-toolbar button disabled text in the case where a toolbar button's disabled and enabled colors are the same (usually meaning the disabled color isn't defined and it's just coming from higher up the cascade).
|
EVALUATION
I'm having some difficulty finding native equivalents to a toolbar toggle button with disabled text. The standard Explorer window has a disabled button, but Explorer is also known to break MS's own guidelines and use custom components. Strangely, StyleBuilder doesn't report a disabled state for toolbar buttons, so perhaps it would make sense to special case this to use the disabled state of normal buttons to draw text?
|