Check Clipboard for Copied texts.

Posted by Bibhas on Stack Overflow See other posts from Stack Overflow or by Bibhas
Published on 2010-02-17T18:45:36Z Indexed on 2010/03/17 3:31 UTC
Read the original article Hit count: 244

Filed under:
|
|
|

I want to add an Cut/Copy/Paste ContextMenuStrip in a RichTextBox, but the problem is, I want to enable or disable the Paste button with respect to the current condition of the windows clipboard.. I mean, if any text is copied already, then that button should be Enabled, otherwise disabled.

Any idea how I can accomplish that?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#