Jump to content

WM DRAWCLIPBOARD

From EDM2

This message is sent to the clipboard viewer window whenever the contents of the clipboard change; that is, as a result of the WinCloseClipbrd function following a call to WinSetClipbrdData.

Syntax

param1
    ULONG   ulReserved;  /* Reserved value, should be 0. */

param2
    ULONG   ulReserved;  /* Reserved value, should be 0. */

Parameters

ulReserved (ULONG) - Input
Reserved value, should be 0.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

ulReserved (ULONG) - returns
Reserved value, should be 0.

Remarks

When the clipboard contents change, the system sends a WM_DRAWCLIPBOARD message to the first window in the clipboard viewer chain. This window then sends the message to the next window in the chain by calling the WinSendMsg function. This continues until the last window in the chain is reached.

A clipboard viewer window must process this message by redrawing its client area. It should also pass the message on to the next clipboard viewer in the chain.

Default Processing

None.