WM PAINTCLIPBOARD
Appearance
This message is sent when the clipboard contains a data handle with the CFI_OWNERDISPLAY information flag set.
Syntax
param1 HWND hwndViewer; /* Handle. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- hwndViewer (HWND) - Input
- Handle to the clipboard application window.
- ulReserved (ULONG) - Input
- Reserved value, should be 0.
Returns
- ulReserved (ULONG) - returns
- Reserved value, should be 0.
Remarks
As the clipboard owner is responsible for displaying the clipboard contents, this message notifies the clipboard application that its client area needs repainting. The WM_PAINTCLIPBOARD message is sent to the owner of the clipboard to request repainting of all or part of the client area of the clipboard application.
- Note
- To determine whether the entire client area needs repainting or just a portion of it, the clipboard owner must compare the dimensions of the drawing area to the dimensions given in the most recent WM_SIZECLIPBOARD message.
Default Processing
None.