registerForDraggedTypes and NSTableView
registerForDraggedTypes and NSTableView
- Subject: registerForDraggedTypes and NSTableView
- From: Kent Sutherland <email@hidden>
- Date: Mon, 1 Apr 2002 20:51:19 -0500
I've got drag and drop implemented in a standard NSTableView, but I
can't figure out what objects in an array to pass to registerForDragged
types.
Currently I have [menuView registerForDraggedTypes:[NSArray
arrayWithObjects:NSStringPboardType, nil]];
This works, but it also allows strings to be dragged into the view. How
do I make it so that just items in that table view or another table view
in that window can be dropped onto the view?
Also, how do I make it so that dropping onto the view as a whole, or
over an object is not possible? I want to have it so that dropping
between objects is the only option.
Any help would be appreciated, thanks.
Kent Sutherland
--
ICQ: 81318970
email@hidden
http://homepage.mac.com/ksuther/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.