• 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
NSPasteboard discard type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPasteboard discard type


  • Subject: NSPasteboard discard type
  • From: Lorenzo <email@hidden>
  • Date: Wed, 31 May 2006 18:20:55 +0200

Hi,
when the user closes the document I would like to delete the latest object
copied from the pasteboard. I did:

    [pb setData:nil forType:KKImagePboardType];

So in the next open document he cannot paste the object copied previously.
Well. But the type KKImagePboardType is still there (empty) so the menu
"paste" remains enabled. How to discard this type from the pasteboard?


Best Regards
--
Lorenzo
email: email@hidden

 _______________________________________________
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: Fwd: About CFURLGetFSRef
  • Next by Date: Re: Client ssh
  • Previous by thread: Re: Creating/Populating Windows programatically
  • Next by thread: Re: Cocoa-dev Digest, Vol 3, Issue 720
  • Index(es):
    • Date
    • Thread