Hi,
I'm currently working on a NSSearchField with an "attached" borderless NSWindow (using NSBorderlessWIndowMask and NSFloatingWindowLevel) that has a NSTableView to display the results from the search field. All works fine so far except hiding the results window when clicking e.a. on the main application window. I'd like to have the same behavior as with a NSCcomboBox and it's popup, that disappears when clicking outside to popup area.

The SearchField itself got a custom FieldEditor that forwards the up, down and return key events to the tableview in the bordless window. So that window isn't the key window. Because the user should be able to continue typing into the search field as well as selecting the results using the arrow keys and return.

Any suggestions or hints are higly appreciated!

Kind regards,
Gert
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to