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::OnDrawClipboard
◄CWnd►                                        ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnDrawClipboard();
 
  Remarks
 
  Called for each window in the Clipboard-viewer chain when the contents
  of the Clipboard change. Only applications that have joined the
  Clipboard-viewer chain by calling the ◄SetClipboardViewer► member
  function need to respond to this call.
 
  Each window that receives an OnDrawClipboard call should call the
  ◄SendMessage► Windows function to pass a WM_DRAWCLIPBOARD message on to
  the next window in the Clipboard-viewer chain. The handle of the next
  window is returned by the ◄SetClipboardViewer► member function; it may
  be modified in response to an ◄OnChangeCbChain► member function call.
 
  This message-handler member function calls the ◄Default► member
  function. Override this member function in your derived class to handle
  the ◄WM_DRAWCLIPBOARD► message.
 
  See Also
 
  ◄::SendMessage►, ◄CWnd::SetClipboardViewer►, ◄WM_CHANGECBCHAIN►,
  ◄WM_DRAWCLIPBOARD►, ◄CWnd::Default►
 
 
                                     -♦-