Home Page (Customizing) | Overview | How Do I ... Topics
You can add up to 16 commands to the Tools menu. These commands can be associated with any program that will run on your operating system. You can also specify arguments for any command that you add to the Tools menu.
Add a command to the Tools menu
Edit a command on the Tools menu
Remove a command from the Tools menu
Specify an argument for a Tools menu command
Learn about error syntax for tools
To add a command to the Tools menu
As an example, the following procedure demonstrates how to add the Windows Notepad accessory to the Tools menu.
For example, if you want to add a command for the Windows Notepad accessory, you might type Notepad. The remaining steps specify what action will occur when the new Notepad command is selected.
You can use the drop-down arrow next to the Arguments text box to display a menu of arguments. Select an argument from the list to insert argument syntax into the Arguments text box. Visual C++ provides the argument macros shown in the Argument Macros table.
You can use the drop-down arrow next to the Initial Directory text box to display a menu of directories. Select a directory from the list to insert directory syntax into the Initial Directory text box.
Notes Once the command appears on the Tools menu, to run the program, choose it from the menu.
You can change the default menu name of the newly added tool by editing the Menu Text box. You can also add arguments to be passed to the program by typing them in the Arguments text box or set the initial directory for your program by typing it in the Initial Directory text box.
If the program you are adding to the Tools menu has a .PIF file, the startup directory specified by the .PIF file overrides the directory specified in the Initial Directory text box.
To edit a command on the Tools menu
The first letter in the title is the keyboard access key by default.
To remove a command from the Tools menu
To specify arguments for a Tools menu command
In the Arguments text box, type the arguments that you want or select the drop-down arrow to the right of the Arguments text box to display a list of arguments.
Visual C++ provides the argument macros shown in the Argument Macros table.