Méthode IShellDispatch.TrayProperties
Affiche la barre des tâches et la boîte de dialogue Propriétés du menu Démarrer . 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 Propriétés.
Syntaxe
IShellDispatch.TrayProperties()
IShellDispatch.TrayProperties()
Paramètres
Cette méthode n’a aucun paramètre.
Valeur retournée
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 via la méthode Shell.TrayProperties .
Exemples
Les exemples suivants montrent l’utilisation de TrayProperties dans JScript, VBScript et Visual Basic.
Jscript:
<script language="JScript">
function fnShellTrayPropertiesJ()
{
var objShell = new ActiveXObject("shell.application");
objshell.TrayProperties();
}
</script>
Vbscript:
<script language="VBScript">
function fnShellTrayPropertiesVB()
dim objShell
set objShell = CreateObject("shell.application")
objshell.TrayProperties
set objShell = nothing
end function
</script>
Visual Basic :
Private Sub fnShellTrayPropertiesVB()
Dim objShell As Shell
Set objShell = New Shell
objshell.TrayProperties
Set objShell = Nothing
End Sub
Spécifications
Condition requise | Valeur |
---|---|
Client minimal pris en charge |
Windows 2000 Professionnel, Windows XP [applications de bureau uniquement] |
Serveur minimal pris en charge |
Windows 2000 Server [applications de bureau uniquement] |
En-tête |
|
IDL |
|
DLL |
|