On Jun 25, 2008, at 4:09 PM, Corbin Dunn wrote:
That may be a fluke -- certain views might do this, but not all. It
is best to watch the appropriate notifications for your window:
NSWindowDidBecomeKeyNotification && NSWindowDidResignKeyNotification
My view is a custom NSView subclass, I'm n
On Jun 25, 2008, at 3:52 PM, Markus Spoettl wrote:
On Jun 25, 2008, at 3:33 PM, Keith Duncan wrote:
Be sure to redisplay your view when the window looses key-ness.
How would this be achieved? I've been trying to figure it out, I'm
sure there's something simple eluding me.
It appears to
On Jun 25, 2008, at 3:33 PM, Keith Duncan wrote:
Be sure to redisplay your view when the window looses key-ness.
How would this be achieved? I've been trying to figure it out, I'm
sure there's something simple eluding me.
It appears to me that the view/window will repaint when the hosting
Be sure to redisplay your view when the window looses key-ness.
How would this be achieved? I've been trying to figure it out, I'm
sure there's something simple eluding me.
Keith
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do no
Hi Corbin,
On Jun 25, 2008, at 10:28 AM, Corbin Dunn wrote:
Yes. It is a magical NSColor that draws correctly depending on the
window key-state. Create an NSOutlineView, set it to be a source
list, and get the -backgroundColor. Keep it around and use it as you
wish. Be sure to redisplay you
On Jun 24, 2008, at 12:57 PM, Markus Spoettl wrote:
Hello List,
is there a way to get the background color of an NSOutlineView when
in sourcelist mode (for both key and non-ket state)?
Yes. It is a magical NSColor that draws correctly depending on the
window key-state. Create an NSOutli
On Jun 24, 2008, at 1:13 PM, Dave DeLong wrote:
Sourcelist active background color: RGB(214, 221, 229) (#d6dde5)
Sourcelist inactive background color: RGB(232, 232, 232) (#e8e8e8)
I got this by taking two screenshots and using the color palette's
magnifying glass.
This is what you're looking
Sourcelist active background color: RGB(214, 221, 229) (#d6dde5)
Sourcelist inactive background color: RGB(232, 232, 232) (#e8e8e8)
I got this by taking two screenshots and using the color palette's
magnifying glass.
This is what you're looking for, right?
HTH,
Dave
On Tue, Jun 24, 2008 at