Share via


CWnd::GetDesktopWindow

Returns the Windows desktop window.

static CWnd* PASCAL GetDesktopWindow( );

Return Value

Identifies the Windows desktop window. This pointer may be temporary and should not be stored for later use.

Remarks

The desktop window covers the entire screen and is the area on top of which all icons and other windows are painted.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::GetFocus

GetDesktopWindow