Show desktop
-
Can anyone tell me, how can I implement Show desktop button without IShellDispatch4 object? Well I can get desktop window handle, I can go through list of child windows and minimize them, but not all of theese are aplicable. Thank You Jirka
I haven't tried this, but I've got the hunch it should work: in your windows directory there's a shortcut file named
Show Desktop.sfc
. If you invoke it programmatically withShellExecute
the desktop should be bringed to the foreground. This has two problems:- In non-English versions of Windows, this shortcut file has a different name.
- This file is not present in Windows 95 (I think)
To workaround these two issues, simply copy and paste the shortcut to your app directory, rename it to whatever you please and execute this instead. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
I haven't tried this, but I've got the hunch it should work: in your windows directory there's a shortcut file named
Show Desktop.sfc
. If you invoke it programmatically withShellExecute
the desktop should be bringed to the foreground. This has two problems:- In non-English versions of Windows, this shortcut file has a different name.
- This file is not present in Windows 95 (I think)
To workaround these two issues, simply copy and paste the shortcut to your app directory, rename it to whatever you please and execute this instead. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo