IShellDispatch.UndoMinimizeALL method
Restores all desktop windows to the state they were in before the last MinimizeAll command. This method has the same effect as right-clicking the taskbar and selecting Undo Minimize All Windows (on older systems) or a second clicking of the Show Desktop icon in the taskbar.
Syntax
IShellDispatch.UndoMinimizeALL()
IShellDispatch.UndoMinimizeALL()
Parameters
This method has no parameters.
Return value
JScript
This method does not return a value.
VB
This method does not return a value.
Remarks
This method is implemented and accessed through the Shell.UndoMinimizeAll method.
Examples
The following examples show the use of UndoMinimizeALL in JScript, VBScript, and Visual Basic.
JScript:
<script language="JScript">
function fnShellUndoMinimizeALLJ()
{
var objShell = new ActiveXObject("shell.application");
objshell.UndoMinimizeALL();
}
</script>
VBScript:
<script language="VBScript">
function fnShellUndoMinimizeALLVB()
dim objShell
set objShell = CreateObject("shell.application")
objshell.UndoMinimizeALL
set objShell = nothing
end function
</script>
Visual Basic:
Private Sub fnShellUndoMinimizeAllVB()
Dim objShell As Shell
Set objShell = New Shell
objshell.UndoMinimizeALL
Set objShell = Nothing
End Sub
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
IDL |
|
DLL |
|