6

I have an NSBox containing two static text fields and two NSImageView. NSBox is subclassed as myNSBox. I have registered the view/NSBox to accept appropriate drag types. So when i drag items to the static text fields, the drag-drop operations work. However, dragging and dropping onto any NSImageView (which are subviews of NSBox) does not work. An interesting observation is that i am unable to drag and drop files from Finder onto the image view. Drag and Drop from outline view to the NSImageView works fine.

Any suggestions?

Michael Robinson
  • 29,278
  • 12
  • 104
  • 130
user598789
  • 329
  • 1
  • 2
  • 17

1 Answers1

7

Anyways, i found the solution. One has to unregisterForDragTypes the image view.

user598789
  • 329
  • 1
  • 2
  • 17