Introduction
With this tool, you can see what exchange formats that a given clipboard or drag&drop object suports just by dragging it from other application or copying it to the clipboard.
Under the Hood
For getting the ClipboardIDataObject
interface, I used theClipboard
class from theSystem.Windows.Forms
namespace. The formats are retreived using the methodGetFormats
from theIDataObject
interface.
The monitorization of Clipboard is handled with my component,ClipboardViewer
. This component is using theSetClipboardViewer
andChangeClipboardChain
Win32 Clipboard functions.
Installing & Building
- Download and extract thesource codeof this article
- Run thebuild.batfile from command prompt
- Now run thebin\main.exeand enjoy!
Do you have any questions or comments? Contactme!
History
- 6 Mar 2002
- The class
ClipboardViewer
is now in a separate file,Rgl.Components.CliboardViewer.cs, and in a different namespace,Rgl.Components
- The
ClipboardViewer
class now correctly creates itself on Win9X/ME
- The class
- 14 Feb 2002
- First version
License
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be foundhere
About the Author
Rui Lopes |
|