IShellDispatch.TrayProperties 메서드
작업 표시줄 및 시작 메뉴 속성 대화 상자를 표시합니다. 이 메서드는 작업 표시줄을 마우스 오른쪽 단추로 클릭하고 속성을 선택하는 것과 동일한 효과가 있습니다.
구문
IShellDispatch.TrayProperties()
IShellDispatch.TrayProperties()
매개 변수
이 메서드에는 매개 변수가 없습니다.
반환 값
JScript
이 메서드는 값을 반환하지 않습니다.
VB
이 메서드는 값을 반환하지 않습니다.
설명
이 메서드는 Shell.TrayProperties 메서드를 통해 구현되고 액세스됩니다.
예제
다음 예제에서는 JScript, VBScript 및 Visual Basic에서 TrayProperties 를 사용하는 것을 보여 줍니다.
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[데스크톱 앱만] |
헤더 |
|
IDL |
|
DLL |
|