Re: Inactive application & custom view appearance
Re: Inactive application & custom view appearance
- Subject: Re: Inactive application & custom view appearance
- From: "Alan Smith" <email@hidden>
- Date: Wed, 13 Dec 2006 14:41:54 -0500
You should use:
if ([[self window] isKey])
{
// Draw colored variant.
}
else
{
// Draw non-colored variant.
}
This is better because the view should change color even if the app is
active. If you have two windows and each has a scrollbar, one of them
will be gray, the other blue, one is active, the other isn't.
Peace, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unnecessary, then it
shall evolve."
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden