Re: NSSearchField in menu item weirdness

2008-05-13 Thread Peter Ammon
On May 13, 2008, at 4:22 PM, Peter Ammon wrote: On May 13, 2008, at 2:32 PM, Jim Turner wrote: This never gets called unless I actually click in the search field. My custom NSView has this as it's implementation of viewDidMoveToWindow to move the cursor into the field: -(void) viewDidMoveT

Re: NSSearchField in menu item weirdness

2008-05-13 Thread Peter Ammon
On May 13, 2008, at 2:32 PM, Jim Turner wrote: This never gets called unless I actually click in the search field. My custom NSView has this as it's implementation of viewDidMoveToWindow to move the cursor into the field: -(void) viewDidMoveToWindow { [[self window] makeFirstResponder

NSSearchField in menu item weirdness

2008-05-13 Thread Jim Turner
I have a custom NSView that contains static text and a NSSearchField, it's your run-of-the-mill attempt to provide live search in a menu, a la the Apple help menu. My issue is that while I can get the cursor into the search field, if I type something other than standard text (arrow keys, home, end