CWnd::OnRenderFormat

Syntax

afx_msg void OnRenderFormat( UINT nFormat );

Parameters

nFormat

Specifies the Clipboard format.

Remarks

The Clipboard owner's OnRenderFormat member function is called when a particular format with delayed rendering needs to be rendered. The receiver should render the data in that format and pass it to the Clipboard by calling the SetClipboardData Windows function.

Do not call the OpenClipboard member function or the CloseClipboard Windows function from within OnRenderFormat.

This message-handler member function calls the Default member function. Override this member function in your derived class to handle the WM_RENDERFORMAT message.

See Also

::CloseClipboard, CWnd::OpenClipboard, ::SetClipboardData, WM_RENDERFORMAT, CWnd::Default