This documentation is archived and is not being maintained.

Command Routing in VSPackages

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

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.

In This Section

Command Routing Algorithm

Describes the order of command routing resolution.

How Command Context Affects Available Menu Items

Discusses command routing.

Commands and Menus That Use Interop Assemblies

Discusses considerations in routing commands between managed code and COM.

Related Sections

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: