• 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 in a draggable view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Creating an instance of a subclass from a superclass initilization
  • Next by Date: Re: can't archive NSValue
  • Previous by thread: Re: can't archive NSValue
  • Next by thread: Temporary object created at runtime with Core Data
  • Index(es):
    • Date
    • Thread