CWnd::GetClipboardOwner

Syntax

static CWnd* GetClipboardOwner();

Remarks

Retrieves the current owner of the Clipboard.

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

Return Value

Identifies the CWnd that owns the Clipboard. It is NULL if the Clipboard is not owned.

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

See Also

CWnd::GetClipboardViewer, ::GetClipboardOwner