Shell.TrayProperties メソッド

[タスク バー] ダイアログ ボックスと [スタート] メニューの [プロパティ] ダイアログ ボックスを表示します。 このメソッドは、タスク バーを右クリックして [プロパティ] を選択した場合と同じ効果があります。

構文

iRetVal = Shell.TrayProperties()

Shell.TrayProperties() As Integer

パラメーター

このメソッドにはパラメーターはありません。

次の例は、 使用中の TrayProperties を示しています。 JScript、VBScript、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

必要条件

要件
サポートされている最小のクライアント
Windows 2000 Professional、Windows XP [デスクトップ アプリのみ]
サポートされている最小のサーバー
Windows 2000 Server [デスクトップ アプリのみ]
ヘッダー
Shldisp.h
IDL
Shldisp.idl
[DLL]
Shell32.dll (バージョン 4.71 以降)