Method wnd.getwnd.desktop
Overload
Gets the desktop window and its child control that displays desktop icons and wallpaper.
public static bool desktop(out wnd desktopWindow, out wnd control)
Parameters
desktopWindow (wnd)
Receives the top-level desktop window. Class name |
control (wnd)
Receives the control of |
Returns
bool
|
Remarks
This function is not very reliable. May stop working on a new Windows version or don't work with a custom shell. Fails if there is no shell process, for example Explorer process killed/crashed and still not restarted, or if using a custom shell that does not register a shell window.