• 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: Getting NSTIFFPboardType data from an NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting NSTIFFPboardType data from an NSTextView


  • Subject: Re: Getting NSTIFFPboardType data from an NSTextView
  • From: Robert Clair <email@hidden>
  • Date: Tue, 28 Sep 2004 21:01:18 -0400

You could try subclassing the textview and overriding the textview's dragImage:at:offset:event:pasteboard:source:slideBack: method. Determine (you'd have to research this, I've never used RTF) if the selection is an image. If it is
get the image (research again :-) ), reset the pasteboard (redeclare it's types and add the image data)
and then call [super dragImage:at:offset:event:pasteboard:source:slideBack:].


I don't know if it will work, but it is the first thing I would try.

Bob

_______________________________________________
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


  • Prev by Date: Re: Table Editing
  • Next by Date: Re: Retain cycle problem with bindings & NSWindowController
  • Previous by thread: Getting NSTIFFPboardType data from an NSTextView
  • Next by thread: binding (converting call from Objective-C to Java
  • Index(es):
    • Date
    • Thread