On 7/28/05 9:50 AM, Douglas Norton didst favor us with:
> All,
>
> When I use DrawThemeTextBox and specify a state of
> kThemeStateInactive, my text appears exactly the same as when I use
> kThemeStateActive.
>
> Am I doing something wrong, or is this expected behaviour, or is it a
> bug ?
>
> I am expecting the text to look something akin to static text
> controls when the window that they are in becomes inactive.
>
> If you want to see this for yourselves, I have included some code
> that builds to a sample app to illustrate this.
No code needed, this is the expected behavior. If you want to disabled text,
you need to set the theme text color before drawing it. I think this should
work for you:
SetThemeTextColor( kThemeTextColorModelessDialogInactive );
Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden