Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays the Taskbar and Start Menu Properties dialog box. This method has the same effect as right-clicking the taskbar and selecting Properties.
Syntax
iRetVal = Shell.TrayProperties()
Shell.TrayProperties() As Integer
Parameters
This method has no parameters.
Examples
The following example shows TrayProperties in use. Proper usage is shown for JScript, VBScript, and 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
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 |
|