This documentation is archived and is not being maintained.

Command Routing in VSPackages

A command is routed in Visual Studio based on the context in which it is executed. It is routed from the initial context outward to the global context.

Command Routing Algorithm

Describes the order of command routing resolution.

How the Availability of Commands is Determined by IDE Context

Discusses command routing.

Commands and Menus That Use Interop Assemblies

Discusses considerations in routing commands between managed code and COM.

Selection Context Objects

Discusses the model for how you can determine the user's selection context focus on a window.

Menus and Toolbars

Explains how to create a UI that includes menus, toolbars, and command combo boxes.

Show: