Dragging an Image out of an NSTextView
Dragging an Image out of an NSTextView
- Subject: Dragging an Image out of an NSTextView
- From: Manfred Lippert <email@hidden>
- Date: Mon, 7 Apr 2003 16:37:34 +0200
Hi,
I have an NSTextView with "graphics allowed" (setImportsGraphics:YES).
I can drag images into that NSTextView, no problems in this direction.
But I have problems dragging them _out_ of the NSTextView: If I drag an
embedded image e.g. to the Finder, I get an empty TextClipping file.
This problem can be reproduced with TextEdit:
- Open TextEdit
- drag an image into the document
- drag the image out of the document on the desktop
-> you get an empty TextClipping file without the image
What can I do to make dragging the image out of my NSTextView work as
expected? (Generating an image file in the corresponding format of the
embedded image instead of a useless TextClipping file.)
Thanks,
Mani
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.