次の方法で共有


Menus and Toolbars

注意

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 XML-Based Command Table Configuration (.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