Highlighting a valid drop target (serious dead end)
Highlighting a valid drop target (serious dead end)
- Subject: Highlighting a valid drop target (serious dead end)
- From: desktoast music productions <email@hidden>
- Date: Sun, 16 Apr 2006 19:56:08 +0200
Hi,
I am asking for help one more time, because all my efforts (been working for
nights now) have seriously come to a dead end.
In my apps view I use DND to alter the data in its model (by dragging from a
NSTableView to a NSOutlineView). I already changed the drag image to fit
into my apps overall design. But since then I used
- (void)outlineView:(NSOutlineView *)outlineView willDisplayCell:(id)cell
forTableColumn:(NSTableColumn *)tableColumn item:(id)item
And
- (unsigned int)outlineView:(NSOutlineView*)olv validateDrop:(id
<NSDraggingInfo>)info proposedItem:(id)item
proposedChildIndex:(int)childIndex
As well as
- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender,
to alter the visualization of valid drop targets (in my outline view) as
well. But - although I was able to ³add² some highlighting behaviour when
dragging to a valid destination - I just can¹t get rid of the default black
rectangle cocoa provides in such a case.
Who is responsible for creating this? What method do I have to override to
replace it by my own drop target highlighting behaviour?
Is there something about it somewhere in the documentation?
Any suggestions appreciated,
Peter
--
Leselust...?
http://www.peterschwaiger.com
_______________________________________________
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