afx_msg void OnRenderFormat( UINT nFormat );
nFormat
Specifies the Clipboard format.
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.
::CloseClipboard, CWnd::OpenClipboard, ::SetClipboardData, WM_RENDERFORMAT, CWnd::Default