Custom Menus

You can add menu items to the Mail menu bar by putting custom menu entries in the Custom Menus section of your Registry or in the [Custom Menus] section of the SHARED32.INI file (in the directory specified by the SharedExtensionsDir entry in your Registry). The SHARED32.INI file is examined first.

Each entry specifies a menu name to be added to the Mail menu bar. You may use these menus to group custom commands and/or messages under a single menu item. A description follows of the custom menu entry format for the SHARED32.INI file. Each entry must occupy a single line. Many subfields are optional. For information on how to add equivalent entries to your Registry, see Chapter 14, "Registry Value Entries."

tag=version;name;name to follow;status text

For example,


tools=3.0;&Tools;Window;Useful development toys 

Values are defined in the following table.

Value

Definition

tag

Identifies the menu to someone reading the .INI file but serves no other purpose.

version

Identifies the version of Mail in which the command is compatible.

name

The menu name to be added to the menu bar. As usual, you may include an ampersand (&) just before the letter that is to serve as an ALT+ key accelerator.

name to follow

Name of an existing menu. The new menu will be added directly before it.

status text

Text to be displayed in the Mail status bar when the user moves the cursor to the menu.