Compartilhar via


Como: Ativar estilos visuais (Visual Basic)

ObservaçãoObservação

This topic applies only to Visual Basic projects.

Windows XP introduced a new appearance and behavior to the Windows user interface, with controls that have rounded corners and that change color when you pause your pointer over them. By default, Windows-based applications created with Visual Basic automatically support visual styles, also known as Windows XP Themes. When run on a platform that does not support Windows XP Themes, the application reverts to the traditional Windows appearance and behavior.

If you do not want your application to support visual styles, you can change the property on the Application page of the Project Designer.

ObservaçãoObservação

XP visual styles support can also be enabled or disabled programmatically through the EnableVisualStyles method of the Application class. For more information, see the topic Como: Ativar estilos do Windows XP Visual.

To disable Windows XP visual styles

  1. Com um projeto selecionado no Solution Explorerdiante do projeto menu, clique em Propriedades.

  2. Click the Application tab.

  3. Clear the Enable XP visual styles check box.

To enable Windows XP visual styles

  1. Com um projeto selecionado no Solution Explorerdiante do projeto menu, clique em Propriedades.

  2. Click the Application tab.

  3. Select the Enable XP visual styles check box.

    ObservaçãoObservação

    By default, visual styles are enabled.

Consulte também

Tarefas

Como: Ativar estilos do Windows XP Visual

Conceitos

Recursos do Windows XP e Controles dos Formulários do Windows

Outros recursos

Gerenciando propriedades Application