Creating a Clipboard Viewer Window
A clipboard viewer window displays the current content of the clipboard, and receives messages when the clipboard content changes. To create a clipboard viewer window, your application must do the following:
-
Add the window to the clipboard viewer chain.
-
Process the WM_CHANGECBCHAIN message.
-
Process the WM_DRAWCLIPBOARD message.
-
Remove the window from the clipboard viewer chain before it is destroyed.