Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Returns the Windows desktop window.

static CWnd* PASCAL GetDesktopWindow( );

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

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

Header: afxwin.h

© 2015 Microsoft