Chapter Contents

Previous

Next
SAS/C Cross-Platform Compiler and C++ Development System User's Guide, Release 6.50


Customizing Microsoft Visual C++ Integrated Development Environment Menus

The following discussion is only applicable to Version 5.0 of the Microsoft Visual C++ IDE.

After the installation of the SAS/C product onto your PC, if you selected the option to integrate into the Microsoft Visual C++ IDE two additional menu items appear on the Tools pull-down menu in the IDE. These items, Compiler Options and SAS/C Help Files, can be moved permanently to a more intuitive area of the Menu Bar in the IDE by importing the file "layout.reg" into your registry.

Follow the steps outlined below:

  1. Select Start|Run.
  2. Enter regedit into the Open text box.
  3. Select Registry|Import Registry File...
  4. In the Import Registry File dialog box select the installdir\host\wnt\bin directory.
  5. Select the layout.reg file.
  6. Click Open.

To achieve the same outcome through the IDE follow the two procedures below to customize the ToolBar:

  1. Leave the Compiler Options item in the Tools pull-down menu and copy the SAS/C Help Files item to the Help pull-down menu by stepping through the following procedures:
    1. Click Tools|Customize.
    2. Select the Commands tab.
    3. Under Category select Tools.
    4. Drag user-defined tool 8 over the Help pull-down menu.
    5. Drop the tool 8 item onto the most convenient part of the Help pull-down menu.
    6. Close the Customize dialog box.
  2. Create a new pull-down menu entitled SAS/C and copy the two items Compiler Options and SAS/C Help Files to this menu on the ToolBar by stepping through the following procedures:
    1. Click Tools|Customize.
    2. Select the Commands tab.
    3. Under Category select new menu.
    4. Drag and drop the New menu item from the Commands listbox to an empty spot in the ToolBar docking area. (Not on the Menu Bar.)
    5. Select Tools from the Category drop-down to add menu items.
    6. Add the two items to "Custom Menu #" by dragging and dropping these items from the Commands listbox onto the "Custom Menu #".
    7. Close the Customize dialog box.
    8. Open the Customize dialog box again.
    9. Select Menus under the Category drop-down.
    10. Select "Custom Menu #" on the Commands listbox, where # reflects the last number used for customized menus.
    11. Drag and drop the "Custom Menu #" onto the Menu Bar.
    12. Delete the "Custom Menu #" item on the ToolBar docking area.