This topic has not yet been rated - Rate this topic

WM_ASKCBFORMATNAME message

Applies to: desktop apps only

Sent to the clipboard owner by a clipboard viewer window to request the name of a CF_OWNERDISPLAY clipboard format.

A window receives this message through its WindowProc function.

#define WM_ASKCBFORMATNAME              0x030C

Parameters

wParam

The size, in characters, of the buffer pointed to by the lParam parameter.

lParam

A pointer to the buffer that is to receive the clipboard format name.

Return value

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

Remarks

In response to this message, the clipboard owner should copy the name of the owner-display format to the specified buffer, not exceeding the buffer size specified by the wParam parameter.

A clipboard viewer window sends this message to the clipboard owner to determine the name of the CF_OWNERDISPLAY format — for example, to initialize a menu listing available formats.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

See also

Clipboard Overview

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
ASCII v Unicode
Subclassing is used to handle ASCII / Unicode conversion.
Value
WM_ASKCBFORMATNAME