Erstellen und Steuern von Umgebungsfenstern

Aktualisiert: November 2007

The Visual Studio integrated development environment (IDE) is composed of numerous tool windows. A tool window is a window created by Visual Studio, or one that can be manipulated by Visual Studio automation. The Visual Studio automation model enables you to manipulate its windows and in many cases, their contents. For example, the Toolbox window is represented by the ToolBox object, as well as the ToolBoxTabs and ToolBoxItems collections. You can use its members to add and remove tabs and Toolbox items. You can also create your own tool windows to suit your custom content.

While some tool windows, such as Solution Explorer and the Class View tool window, do not have explicit automation features, you can still manipulate the windows themselves. Solution Explorer is a tool window in the Visual Studio IDE that displays a physical, file-based depiction of your solution and its projects and their project items. Like any other tool window in Visual Studio, you can control its physical parameters, such as size, location, and whether it is docked or free-floating. Class View is a tool window that displays the symbols defined, referenced, or called in the application you are developing. For information, see Gewusst wie: Ändern des Erscheinungsbilds eines Fensters.

To learn more about

See

Changing the physical characteristics of a tool window, such as its height, width, and so forth.

Gewusst wie: Ändern des Erscheinungsbilds eines Fensters

Manipulating source code and text in the Code Editor.

Gewusst wie: Steuern des Code-Editors (Visual Basic)

Automating search and replace operations in the Code Editor.

Gewusst wie: Automatisieren des Suchens und Ersetzens von Text

Manipulating Solution Explorer and its contents.

Gewusst wie: Steuern des Projektmappen-Explorers

Using the Visual Studio Code Model to discover code.

Ermitteln von Code über das Codemodell (Visual Basic)

Manipulating the Output window and its contents.

Gewusst wie: Steuern des Ausgabefensters

Changing the settings in the Options dialog box on the Tools menu.

Steuern der Einstellungen im Dialogfeld "Optionen" (Menü "Extras")

Manipulating the Toolbox and its contents.

Gewusst wie: Steuern der Toolbox

Manipulating the Task List and its contents.

Gewusst wie: Steuern der Aufgabenliste

Manipulating the Command window and its contents.

Gewusst wie: Steuern des Befehlsfensters

Manipulating the Dynamic Help window and affecting attributes.

Gewusst wie: Steuern des Fensters "Dynamische Hilfe"

Manipulating the recording of macros from within an add-in.

Gewusst wie: Steuern von Makros mithilfe von Add-Ins

Controlling tree views in tool windows by using the UIHierarchy object.

Gewusst wie: Verändern von Strukturansichten mithilfe von UIHierarchy

Creating and manipulating tool windows.

Gewusst wie: Erstellen und Steuern von Toolfenstern

Siehe auch

Aufgaben

Gewusst wie: Erstellen von Add-Ins

Exemplarische Vorgehensweise: Erstellen eines Assistenten

Konzepte

Steuern von Projekten und Projektmappen

Diagramm "Automationsobjektmodell"

Weitere Ressourcen

Erstellen von Add-Ins und Assistenten

Referenz zur Automatisierung und Erweiterbarkeit