• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSComboBox Pop-Up like behavior for custom NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSComboBox Pop-Up like behavior for custom NSWindow


  • Subject: NSComboBox Pop-Up like behavior for custom NSWindow
  • From: Gert Andreas <email@hidden>
  • Date: Tue, 13 May 2008 10:12:18 +0200

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 (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: PDFView query
  • Next by Date: Re: Getting Pixel Data From CIImage
  • Previous by thread: Re: Create NSStrings from a mapped NSData object - safe?
  • Next by thread: WWDC 2008 Sessions PDF Generator
  • Index(es):
    • Date
    • Thread