CWnd::ChangeClipboardChain

Removes CWnd from the chain of Clipboard viewers and makes the window specified by hWndNext the descendant of the CWnd ancestor in the chain.

BOOL ChangeClipboardChain( 
   HWND hWndNext  
);

Parameters

  • hWndNext
    Identifies the window that follows CWnd in the Clipboard-viewer chain.

Return Value

Nonzero if successful; otherwise 0.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::SetClipboardViewer

ChangeClipboardChain