Muokkaa

Jaa


WM_RENDERFORMAT message

Sent to the clipboard owner if it has delayed rendering a specific clipboard format and if an application has requested data in that format. The clipboard owner must render data in the specified format and place it on the clipboard by calling the SetClipboardData function.

#define WM_RENDERFORMAT                 0x0305

Parameters

wParam

The clipboard format to be rendered.

lParam

This parameter is not used.

Return value

If an application processes this message, it should return zero.

Remarks

When responding to a WM_RENDERFORMAT message, the clipboard owner must not open the clipboard before calling SetClipboardData. Opening the clipboard is not necessary before placing data in response to WM_RENDERFORMAT, and any attempt to open the clipboard will fail because the clipboard is currently being held open by the application that requested the format to be rendered.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Reference

SetClipboardData

WM_RENDERALLFORMATS

Conceptual

Clipboard