Share via


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

Reference

CWnd Class

Hierarchy Chart

CWnd::GetClipboardViewer

GetClipboardOwner