CWnd::GetClipboardOwner

Retrieves the current owner of the Clipboard.

static CWnd* PASCAL GetClipboardOwner( );

Return Value

Identifies the window that owns the Clipboard if the function is successful. Otherwise, it is NULL.

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

Remarks

The Clipboard can still contain data even if it is not currently owned.

Requirements

Header: afxwin.h

See Also

Concepts

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::GetClipboardViewer

GetClipboardOwner