Freigeben über


CWnd::OnDrawClipboard

The framework calls this member function for each window in the Clipboard-viewer chain when the contents of the Clipboard change.

afx_msg void OnDrawClipboard( );

Remarks

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.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

SendMessage

CWnd::SetClipboardViewer

CWnd::OnChangeCbChain

WM_DRAWCLIPBOARD

Concepts

CWnd Members