• 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: How can I prevent drag-and-drop initiation in an NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I prevent drag-and-drop initiation in an NSTextField


  • Subject: Re: How can I prevent drag-and-drop initiation in an NSTextField
  • From: Michael Crawford <email@hidden>
  • Date: Wed, 17 Aug 2011 18:11:23 -0400

For those who are interested, here is a simple answer to my original question.

@implementation NSTextView (csstest)

- (NSDraggingSession*)beginDraggingSessionWithItems:(NSArray*)items
                                              event:(NSEvent*)event
                                             source:(id<NSDraggingSource>)source
{
    return nil;
}

That's it.

-Michael


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How can I prevent drag-and-drop initiation in an NSTextField
      • From: Conrad Shultz <email@hidden>
References: 
 >How can I prevent drag-and-drop initiation in an NSTextField (From: Michael Crawford <email@hidden>)
 >Re: How can I prevent drag-and-drop initiation in an NSTextField (From: Kyle Sluder <email@hidden>)
 >Re: How can I prevent drag-and-drop initiation in an NSTextField (From: Michael Crawford <email@hidden>)
 >Re: How can I prevent drag-and-drop initiation in an NSTextField (From: Quincey Morris <email@hidden>)
 >Re: How can I prevent drag-and-drop initiation in an NSTextField (From: Michael Crawford <email@hidden>)
 >Re: How can I prevent drag-and-drop initiation in an NSTextField (From: Conrad Shultz <email@hidden>)
 >Re: How can I prevent drag-and-drop initiation in an NSTextField (From: Michael Crawford <email@hidden>)

  • Prev by Date: [SOLVED] Re: Properly wrapping non-contiguous NSTextViews
  • Next by Date: Re: Is it possible to traverse dictionaries and arrays using KVC?
  • Previous by thread: Re: How can I prevent drag-and-drop initiation in an NSTextField
  • Next by thread: Re: How can I prevent drag-and-drop initiation in an NSTextField
  • Index(es):
    • Date
    • Thread