• 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
Re: Programmatically opening an NSComboBox list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically opening an NSComboBox list


  • Subject: Re: Programmatically opening an NSComboBox list
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 22 Feb 2009 16:53:02 -0500

On Sat, Feb 21, 2009 at 11:11 AM, Paul Sanders <email@hidden> wrote:
> And indeed how do you programatically close it, which is what I would like
> to do.

The problem with programmatically closing the drop-down comes from the
way that NSComboBoxCell might handle mouse tracking.  If the cell runs
the runloop itself in its own tracking mode, your code will never even
get the opportunity to execute until the user closes the menu himself.

--Kyle Sluder
_______________________________________________

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

References: 
 >Programmatically opening an NSComboBox list (From: Peter Hudson <email@hidden>)
 >Re: Programmatically opening an NSComboBox list (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: Surprising entanglement of UI lock during fetch request in background thread (NSViewHierarchyLock/MOC locking deadlock).
  • Next by Date: Re: Programmatically opening an NSComboBox list
  • Previous by thread: Re: Programmatically opening an NSComboBox list
  • Next by thread: Re: Programmatically opening an NSComboBox list
  • Index(es):
    • Date
    • Thread