CF_OWNERDISPLAY Format

A unique clipboard format, CF_OWNERDISPLAY, transfers the burden of displaying the clipboard data to the clipboard owner. Under CF_OWNERDISPLAY, the clipboard owner receives a set of messages that describe client area changes in the clipboard viewer. Table 18.2 shows these messages.

Table 18.2. Owner Display Clipboard Messages
Message Meaning
WM_ASKCBFORMATNAME Sent when the clipboard viewer requests the name of the clipboard format. The clipboard owner must copy wParam bytes into the buffer pointed to by lParam.
WM_PAINTCLIPBOARD Sent when the client area of the clipboard viewer needs repainting. The wParam parameter is the handle of the window of the clipboard viewer. The lParam parameter is a pointer to a PAINTSTRUCT. ...

Get Microsoft Windows 2000 API SuperBible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.