PDA

View Full Version : Minimize all through commands...



NRGizeR
February 24th, 2003, 10:50 AM
I hope that this isn't common knowledge or anything, at least I couldn't find a post about this... :-?

Anyway, I found out that you can trigger the minimize all (and undo minimize) command by sending the following commands to explorer.exe

my targets is:
Class Name: Shell_TrayWnd
Executable: explorer.exe

by sending the command:
WParam: 419
Lparam: 0
you minimize all, and by sending the command:
WParam: 416
Lparam: 0
you undo the minimize.

Ron
February 24th, 2003, 11:42 AM
Interesting! At least I didn't know this.

NRGizeR
February 25th, 2003, 03:29 AM
8) Yay! I get to be smart :P

oh, btw, I'm using win2k, so I don't know if this works for other versions of windows. As I understand it, it should, but I don't know.

fogal
July 23rd, 2003, 11:07 AM
Great Thanks - saved me heaps of time.

Selyb
September 4th, 2003, 10:56 AM
i once found some great resources for commands and sys_commands
(messages 273 and 274) and others for that matter
this might be of interest to some people
syscommand (274) wparam 61760 lparam 0
this starts the screensaver specified in the screensaver tab in display properties
if i remember correctly you can change the lparam to 1 or 2 to have other effects (monitor off, standby, hibernation or the likes)
for many results on this subject search google for
wm_command 273 wm_syscommand 274