Customizing Commands and Toolbars
Visual Studio lets you customize other aspects of the IDE such as menus (including context menus) and toolbars. The next subsections cover both scenarios with examples.
Customizing an Existing Toolbar
Imagine you want to add another button to the Standard toolbar, such as the Close Solution command. Select Tools, Customize. When the Customize dialog box displays, select the Commands tab. Then select the Toolbar item and from the related combo box pick up the Standard toolbar. The goal is adding a button, so click Add command. This launches the Add command dialog box. Here you just select the menu where the command is located (on the left) and the command itself (on the right). Then, select File on the left ...
Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.