Re: Getting NSTIFFPboardType data from an NSTextView
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