Méthode IShellDispatch. UndoMinimizeALL
Restaure toutes les fenêtres de bureau à l’État où elles se trouvaient avant la dernière commande MinimizeAll . cette méthode a le même effet que de cliquer avec le bouton droit sur la barre des tâches et de sélectionner annuler réduire tout Windows (sur les systèmes plus anciens) ou un second clic sur l’icône afficher le bureau dans la barre des tâches.
Syntaxe
IShellDispatch.UndoMinimizeALL()
IShellDispatch.UndoMinimizeALL()
Paramètres
Cette méthode n’a aucun paramètre.
Valeur de retour
JScript
Cette méthode ne retourne pas de valeur.
VB
Cette méthode ne retourne pas de valeur.
Notes
Cette méthode est implémentée et accessible par le biais de la méthode Shell. UndoMinimizeAll .
Exemples
les exemples suivants illustrent l’utilisation de UndoMinimizeALL dans JScript, VBScript et 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
Spécifications
| Condition requise | Valeur |
|---|---|
| Client minimal pris en charge |
Windows 2000 Professional, Windows XP [ desktop apps uniquement] |
| Serveur minimal pris en charge |
Windows 2000 Server - [Applications de bureau uniquement] |
| En-tête |
|
| MIDL |
|
| DLL |
|