Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DrawThemeTextBox & kThemeStateInactive broken?



On Jul 28, 2005, at 10:39 AM, Steve Mills wrote:
From a message I sent to hit-dev in April and never got a response to:

My apologies. I didn't subscribe to that list until after WWDC, I believe. (I also got 3000 messages behind on Carbon-Dev and bulk- marked them all unread so I could keep track of new messages while Eric had a little vacation.)


Why do static text controls (created with CreateStaticTextControl) refuse to draw in the disabled text color when they're in dialogs that have the stripy gray background, but *do* draw with the disabled text color when they're in white-background document windows? It looks pretty weird when some controls' text looks disabled and others' don't.

We were calling DeactivateControl to disable them. I changed those to DisableControl, hoping it would help, but nope.

I made a small sample app to reproduce this on Tiger, and I can't. I tried both composited and non-composited windows.


Maybe I don't understand something about your situation.

How do you get "stripy" windows? In the nib, I made a document window with the Dialog theme brush. Maybe you are creating a Dialog Manager dialog?

-----
David McLeod
email@hidden

_______________________________________________
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
References: 
 >DrawThemeTextBox & kThemeStateInactive broken? (From: Douglas Norton <email@hidden>)
 >Re: DrawThemeTextBox & kThemeStateInactive broken? (From: David McLeod <email@hidden>)
 >Re: DrawThemeTextBox & kThemeStateInactive broken? (From: "Steve Mills" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.