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

Concepts

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::SetClipboardViewer

ChangeClipboardChain