Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::OnRenderAllFormats
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnRenderAllFormats();
 
  Remarks
 
  The Clipboard owner's OnRenderAllFormats member function is called when
  the owner application is being destroyed.
 
  The Clipboard owner should render the data in all the formats it is
  capable of generating and pass a data handle for each format to the
  Clipboard by calling the SetClipboardData Windows function. This
  ensures that the Clipboard contains valid data even though the
  application that rendered the data is destroyed. The application should
  call the OpenClipboard member function before calling the
  SetClipboardData Windows function, and call the CloseClipboard
  Windows function afterward.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_RENDERALLFORMATS message.
 
  See Also
 
  ::CloseClipboard, CWnd::OpenClipboard, ::SetClipboardData,
  CWnd::OnRenderFormat, WM_RENDERALLFORMATS, CWnd::Default
 
 
                                     -♦-