Re: Any way to detect firstResponder changes?

2008-11-11 Thread Keary Suska
On Nov 11, 2008, at 9:31 AM, Uli Kusterer wrote: On 11.11.2008, at 17:04, Ken Tozier wrote: I have a custom NSView subclass that contains, among other things, an NSTableView and need to know when focus changes happen so I can highlight the the view correctly. I tried setting up a KVO

Re: Any way to detect firstResponder changes?

2008-11-11 Thread Uli Kusterer
On 11.11.2008, at 17:04, Ken Tozier wrote: I have a custom NSView subclass that contains, among other things, an NSTableView and need to know when focus changes happen so I can highlight the the view correctly. I tried setting up a KVO observer on NSWindw's firstResponder, but it appears

Any way to detect firstResponder changes?

2008-11-11 Thread Ken Tozier
Hi I have a custom NSView subclass that contains, among other things, an NSTableView and need to know when focus changes happen so I can highlight the the view correctly. I tried setting up a KVO observer on NSWindw's firstResponder, but it appears that windows don't report this change.

RE : Any way to detect firstResponder changes ?

2008-11-11 Thread Etienne Guérard
You should use the highlighting provided by the focus ring. -[NSView setFocusRinType:] Message d'origine I have a custom NSView subclass that contains, among other things, an NSTableView and need to know when focus changes happen so I can highlight the the view correctly. I