Hello Jens, On Jul 17, 2008, at 8:26 PM, Jens Alfke wrote:
I have an NSComboBox, and I want to automatically pop open the list, without the user having to click the button. But I can't find anything in the API of either the control or the cell to do this. Did I overlook something?
I know it's hackish but simulating down arrow worked for me... CGPostKeyboardEvent(0, 125, true); CGPostKeyboardEvent(0, 125, false); Unfortunately, this seems only to work for editable combos. - Dmitri _______________________________________________ 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]