Menus and Toolbars

Note

Beginning with Visual Studio 2008 SDK, use XML Command Table (.vsct) files instead of vs_current_short Command Table (.vsct) files to define how menus and commands appear in your VSPackages. For more information, see Visual Studio Command Table (.Vsct) Files.

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