Re: Mail-Style Drag Frame
Re: Mail-Style Drag Frame
- Subject: Re: Mail-Style Drag Frame
- From: Philip Dow <email@hidden>
- Date: Fri, 30 Dec 2005 10:17:24 +0100
Hi Guillaume,
Thanks for the link, ah cocoadev.
True it's overriding a private method, but if that method comes to be
ignored in a later update, it shouldn't break my code, rather just
render that portion inaffective.
-Phil
On Dec 30, 2005, at 9:01 AM, Guillaume Gandreau wrote:
Hi,
Here is a solution : http://cocoadev.com/index.pl?
UglyBlackHighlightRectWhenDraggingToNSTableView
But it subclasses a private framework method so... dangerous...
Guillaume
Le 29 déc. 05 à 20:14, Philip Dow a écrit :
I've done some google searching on this but haven't come up with
much, while there is much to be said about providing a mail-style
selection gradient.
I would like to customize the drag frame that appears around a row
in a table- or outlineview as you drag items onto it. The default
implementation puts a rather ugly black box around the row. I
would like to display something similar to mail's drag frame.
How would I go about doing this? I'm not aware of any drawing
methods that specifically handle the drag frame. Would I need to
note the location of the currently dragged object in my delegate
code and then grab that information from within my custom
outlineview's drawRow:clipRect: method so I could frame the
appropriate row? This doesn't seem to difficult to implement, but
if there's an easier way, I'm all ears.
-Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@free.fr
This email sent to email@hidden
_______________________________________________
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