The GetDesktopWindow function returns the handle of the Windows desktop window. The desktop window covers the entire screen. The desktop window is the area on top of which all icons and other windows are painted.
VB4-32,5,6
Declare Function GetDesktopWindow Lib "user32" Alias "GetDesktopWindow" ( _ _ ) As Long
Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later
Library
User32
Parameter Information
Return Values
The return value is the handle of the desktop window.
Examples
- Start In
- Fontsize
- Using Small Fonts
- EnumChildWindows
- Show OpenWith Dialog
Related Functions
- GetWindow


