How to use SetClipboardViewer Function without any window in C#?
According to MSDN: http://msdn.microsoft.com/en-us/library/ms649052%28VS.85%29.aspx
Adds the specified window to the chain 开发者_如何学Pythonof clipboard viewers. Clipboard viewer windows receive a WM_DRAWCLIPBOARD message whenever the content of the clipboard changes.
But I don't want any window, I just want to hook the clipboard silently. How to code this in C# ?
Just use a hidden window. If don't want to use a hidden form, you can create message-only window.
精彩评论