OK, one solution I found is to embed all my subviews in a container view, and do the drawing there. Then I have to handle selection, but that turned out to be not too bad. So, unless anyone suggests a better way to do this, this will do for now.
Thanks! Martin On Apr 11, 2013, at 08:46 PM, Martin Hewitson <martin.hewit...@aei.mpg.de> wrote: > Dear list, > > I'm continuing my adventures in view-based tableview land. I've got > drag-n-drop working nicely, but I'd like to improve the image that's shown > during a drag. Currently I just get the subviews of my NSTableCellView > subclass, but I don't get the background that's drawn in > -drawBackgroundInRect: of my NSTableRowView subclass. The documentation seems > to suggest that one should override -draggingImageComponents in the > NSTableCellView subclass, but it seems never to be called. > > Can anyone shed any light on this? Should I be overriding something in the > NSTableRowView subclass instead? Is there a switch I need to flick to get > -draggingImageComponents to be called? > > Cheers, > > Martin > > > > > > _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com