Menu and Toolbar Samples
The following table includes a list of samples in the Visual Studio SDK that demonstrate command functionality.
In This Section
- Reference.MenuAndCommands Sample (C#)
-
Demonstrates in Visual C# four scenarios related to commands on menus and toolbars.
-
Creating simple commands.
-
Putting commands inside existing command groups.
-
Changing command state, for example its text or visibility, at runtime.
-
Adding keyboard shortcuts to commands.
-
- Reference.MenuAndCommands Sample (C++)
-
Demonstrates in Visual C++ four scenarios related to commands on menus and toolbars.
-
Creating simple commands.
-
Putting commands inside existing command groups.
-
Changing command state, for example its text or visibility, at runtime.
-
Adding keyboard shortcuts to commands.
-
- DynamicMenu Sample
-
Demonstrates how to add and remove menu items from the Visual Studio integrated development environment (IDE) by using the managed package framework (MPF).