Re: drop location feedback in NSTextView (2)
Re: drop location feedback in NSTextView (2)
- Subject: Re: drop location feedback in NSTextView (2)
- From: Satoshi Matsumoto <email@hidden>
- Date: Fri, 04 Nov 2005 09:26:01 +0900
Hi,
I have never tried to customize the drag cursor location. But how about to
override this method?
- (NSDragOperation)draggingUpdated:(id <NSDraggingInfo>)sender
I think the drag cursor of NSTextView may be drawn in this method.
I don't know it works or not.....
1) Override draggingUpdated; method.
2) Copy the draggingInfo
3) Change the drag location of the copied draggingInfo
4) Pass the copied draggingInfo to super's (i.e. NSTextView's)
draggingUpdated; method,
Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
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