Export (0) Print
Expand All

Menus and Toolbars

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

When you create a VSPackage for the Visual Studio integrated development environment (IDE), it typically includes a user interface (UI) command set. A command set includes menus, toolbars (such as a toolbar in a tool window), command combo boxes, and selectors. (Selectors let you select nontextual values from a grid, such as a color grid.)

The pages in this section explain how menus and toolbar commands work in VSPackages, how to create them, how to handle their events, and best practices for implementing them.

In This Section

Menu and Toolbar Essentials

Presents best practices for adding menus and toolbars to your VSPackage.

Introduction to Menus and Toolbars

Provides an overview to how menu and toolbar commands work with VSPackages.

How VSPackages Add User Interface Elements

An in-depth description of the Command Table Format specification.

Command Table Configuration (.Ctc) Files

Describes how to write and then compile a command table for your project.

XML-Based Command Table Configuration (.Vsct) Files

Describes a new, upcoming replacement for .ctc files.

Default Commands, Groups, and Toolbars

Describes predefined commands, groups, menus, and toolbars.

IDE-Defined Commands

Specifies the predefined commands and command groups available for use by the Visual Studio IDE.

Common Menu Tasks

Provides a comprehensive list of common menu tasks.

Command Routing in VSPackages

Describes how the Visual Studio IDE directs commands.

Optimizing Menu and Toolbar Commands

Suggests considerations for performance and scalability.

Menu and Toolbar Walkthroughs

Provides a collection of walkthroughs for exploring commands and creating menus and toolbars.

Menu and Toolbar Samples

Provides a collection of samples for exploring commands and creating menus and toolbars.

Menus and Toolbars Frequently Asked Questions

Contains responses to questions and issues about menus and toolbars from the Visual Studio user community.

Related Sections

Command Table Format Reference

Describes all UI components and their flags.

Loading VSPackages

Describes how a VSPackage is loaded and how loading is controlled by command context.

Selection Context Objects

Explains the Visual Studio model for determining the selection context focuses of a window.

User Interfaces

Explains how to use Visual Studio services to create UI elements that match the rest of Visual Studio.

Community Additions

ADD
Show:
© 2014 Microsoft