NSPasteboard discard type
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