NSComboBox in a draggable view
NSComboBox in a draggable view
- Subject: NSComboBox in a draggable view
- From: Ken Victor <email@hidden>
- Date: Mon, 24 Apr 2006 14:50:07 -0700
i've got an NSComboBox in one of my custom views. my custom view is
draggable. if i click on the arrow in the combo box and then drag the
cursor out of the combo box and into my view (without letting go of
the mouse button), the mouseDragged method of my custom view is
called and i start a drag operation and the combo box's popup stays
up!
is this expected behavior? (i certainly didn't expect it! :-( )
i believe i can work around this by registering for
NSComboBoxWillPopUpNotification and NSComboBoxWillDismissNotification
and keeping track of whether or not the combo box's menu is up, but
...
thanx,
ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden