Compartilhar via


Método IShellDispatch.TileHorizontally

Blocos de todas as janelas na área de trabalho horizontalmente. Esse método tem o mesmo efeito que clicar com o botão direito do mouse na barra de tarefas e selecionar Mostrar janelas empilhadas.

Sintaxe

IShellDispatch.TileHorizontally()

IShellDispatch.TileHorizontally()

Parâmetros

Esse método não tem parâmetros.

Valor retornado

JScript

Esse método não retorna um valor.

VB

Esse método não retorna um valor.

Comentários

Esse método é implementado e acessado por meio do método Shell.TileHorizontally .

Exemplos

O exemplo a seguir mostra o uso de TileHorizontally em JScript, VBScript e Visual Basic.

Jscript:

<script language="JScript">
    function fnShellTileHorizontallyJ()
    {
        var objShell = new ActiveXObject("shell.application");
        
        objshell.TileHorizontally();
    }
</script>

Vbscript:

<script language="VBScript">
    function fnShellTileHorizontallyVB()
        dim objShell
        
        set objShell = CreateObject("shell.application")
        objshell.TileHorizontally

        set objShell = nothing
    end function
 </script>

Visual Basic:

Private Sub fnShellTileHorizontallyVB()
    Dim objShell As Shell
    
    Set objShell = New Shell
    objshell.TileHorizontally

    Set objShell = Nothing
End Sub

Requisitos

Requisito Valor
Cliente mínimo com suporte
Windows 2000 Professional, Windows XP [somente aplicativos da área de trabalho]
Servidor mínimo com suporte
Windows 2000 Server [somente aplicativos da área de trabalho]
Cabeçalho
Shldisp.h
IDL
Shldisp.idl
DLL
Shell32.dll (versão 4.71 ou posterior)