There is a System.Windows.Forms.Clipboard class that provides some ability
to work with the System Clipboard. However, this does not have events
associated with it. Also, you didn't mention whether you want to monitor
Clipboard events in an application, or for the entire OS. If you want to
monitor Clipboard events in an application, you can simply raise an event
whenever you access the Clipboard. If you want to monitor *all* Clipboard
events, you will need to use the unmanaged Windows API and PInvoke. The
documentation for the WinAPI Clipboard, and all of its events, is:
That would entail using the Windows API with PInvoke.
--
HTH,
Kevin Spencer
Microsoft MVP
Chicken Salad Surgery
What You Seek Is What You Get.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.