On Feb 27, 2009, at 9:18 AM, Jerry Krinock wrote:
On 2009 Feb 26, at 23:39, Stuart Malin wrote:
BOOL isViewInFocus = self controlView] window] firstResponder]
isEqual:[self controlView]];
Is there perhaps a better way to determine if a view is "key" ?
No, but I believe you should al
On 2009 Feb 26, at 23:39, Stuart Malin wrote:
BOOL isViewInFocus = self controlView] window] firstResponder]
isEqual:[self controlView]];
Is there perhaps a better way to determine if a view is "key" ?
No, but I believe you should also check that the control view's window
-isKeyWindo
Well "focus" does have a meaning (see -[NSView lockFocus]), but I
figured you didn't mean that here.
It sounds like you want to subclass NSOutlineView and override
-resignFirstResponder.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.c
On Feb 26, 2009, at 10:33 AM, Kyle Sluder wrote:
What is "focus"? Do you mean when the outline view becomes key, or
when the window becomes key, or something else?
--Kyle Sluder
I meant that the view becomes "key." I used the term "focus" because
a focus ring gets (well, may get) drawn.
What is "focus"? Do you mean when the outline view becomes key, or
when the window becomes key, or something else?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
Mic Pringle asked the same question yesterday; see the thread about it
"Re: NSTableView && Custom Background ..."
Short answer: watch window key notifications and redisplay the table.
corbin
On Feb 26, 2009, at 12:22 PM, Stuart Malin wrote:
I have a custom cell attached to a TableColumn of an