Re: Programmatically opening an NSComboBox list
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