PRB: Forward, Reply, and Reply All Are Not Available on Shortcut Menu for MAPI Forms (313612)



The information in this article applies to:

  • Microsoft Extended Messaging Application Programming Interface (MAPI)
  • Microsoft Outlook 2000
  • Microsoft Outlook 2002

This article was previously published under Q313612

SYMPTOMS

Messages that use a custom MAPI form server do not allow the user to select Forward, Reply, or Reply All from the shortcut menu in Microsoft Outlook. The form may support these actions, and the corresponding toolbar buttons may be available, but the shortcut menu items are either disabled or absent.

CAUSE

The configuration (.cfg) file for the MAPI form does not include the required entries to enable the actions on the shortcut menu.

RESOLUTION

Open the configuration file for the MAPI form in a text editor such as Microsoft Notepad, and add the following lines:
[Extensions]
Extensions1=1

[Extension.1]
Type=30
NmidPropset={00020D0C-0000-0000-C000-000000000046}
NmidInteger=1
Value=011112202
				

STATUS

This behavior is by design.

MORE INFORMATION

The number in the Value field acts as a mask to specify how to handle certain menu commands. Each position in the field maps to a different command; the positions and values are available as constants in the Exchform.h file as follow:

ConstantValueMenu Item
ichOpMapReservedCompose0(Reserved)
ichOpMapOpen1Open
ichOpMapReplyToSender2Reply
ichOpMapReplyToAll3Reply All
ichOpMapForward4Forward
ichOpMapPrint5Print
ichOpMapSaveAs6Save As
ichOpMapReservedDelivery7(Reserved)
ichOpMapReplyToFolder8Post Reply To Folder

The possible values in each position are as follows:

ConstantValueDescription
chOpMapByClient'0'Use client application's default handling.
chOpMapByForm'1'Enable menu item and call DoVerb.
chOpMapDisable'2'Disable menu item.

In the sample entry in the "Resolution" section (where Value equals 011112202) the Open, Reply, Forward, and Reply All commands are enabled and will be passed to the DoVerb method. The Print, Save As, and Post Reply To Folder commands are disabled.

Modification Type:MinorLast Reviewed:8/25/2005
Keywords:kbprb KB313612