This documentation is archived and is not being maintained.


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.


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

See Also

CWnd Overview | Class Members | Hierarchy Chart | CWnd::GetClipboardViewer | GetClipboardOwner