CWnd::ChangeClipboardChain

Syntax

BOOL ChangeClipboardChain( HWND hWndNext );

Parameters

hWndNext

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

Remarks

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

Return Value

TRUE if CWnd is removed; otherwise FALSE.

See Also

CWnd::SetClipboardViewer, ::ChangeClipboardChain