Re: drop location feedback in NSTextView (2)
Re: drop location feedback in NSTextView (2)
- Subject: Re: drop location feedback in NSTextView (2)
- From: Ken Victor <email@hidden>
- Date: Thu, 3 Nov 2005 16:33:36 -0800
thats precisely what i wanted to do when i posted my original query.
but i don't see any dragging info object that can be copied, nor do i
see any methods in the NSDraggingSource/NSDraggingDestination
categories or the NSDraggingInfo protocol that will let you set the
dragging location!
ken
At 9:26 AM +0900 11/4/05, Satoshi Matsumoto wrote:
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