• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drop location feedback in NSTextView (2)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: drop location feedback in NSTextView (2)
      • From: Satoshi Matsumoto <email@hidden>
References: 
 >Re: drop location feedback in NSTextView (2) (From: Satoshi Matsumoto <email@hidden>)

  • Prev by Date: Re: drop location feedback in NSTextView (2)
  • Next by Date: Re: drop location feedback in NSTextView (2)
  • Previous by thread: Re: drop location feedback in NSTextView (2)
  • Next by thread: Re: drop location feedback in NSTextView (2)
  • Index(es):
    • Date
    • Thread