共用方式為


CWnd::GetClipboardViewer

Retrieves the first window in the Clipboard-viewer chain.

static CWnd* PASCAL GetClipboardViewer( );

Return Value

Identifies the window currently responsible for displaying the Clipboard if successful; otherwise NULL (for example, if there is no viewer).

The returned pointer may be temporary and should not be stored for later use.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::GetClipboardOwner

GetClipboardViewer

Concepts

CWnd Members