Re: Metal window pattern color
Re: Metal window pattern color
- Subject: Re: Metal window pattern color
- From: Ricky Sharp <email@hidden>
- Date: Wed, 20 Oct 2004 18:16:45 -0500
On Oct 20, 2004, at 4:08 PM, Nick Zitzmann wrote:
Short version: How do I get an NSPatternColor for metal in Mac OS X
10.2.x?
Long version: In one product we use NSColor's -windowBackgroundColor
method to get the window's background color. In Mac OS X 10.3.x, this
method returns a pattern that matches the window style. In Mac OS X
10.2.8, this method appears to always returns the aqua style, even if
the window uses the metal style. How do I work around this?
I believe Eric Schlegel (Apple), who mostly frequents the carbon-dev
list, had an answer about this a while back. I could be wrong, but I
believe he mentioned that metal isn't implemented as a pattern.
___________________________________________________________
Ricky A. Sharp
mailto:email@hidden
Instant Interactive(tm)
http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden