• 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
Dragging an Image out of an NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: What to do with a NSTimer that has been invalidated ?
  • Next by Date: NSBrowser delegate
  • Previous by thread: Re: What to do with a NSTimer that has been invalidated ?
  • Next by thread: NSBrowser delegate
  • Index(es):
    • Date
    • Thread