MAPI Context Flags

4/8/2010

These flags indicate unsupported actions that should therefore appear disabled in Listview and/or Context menus. These flags can be used one at a time, or combined using the bitwise OR operator, to form a bitmask that is used as the value of the PR_CE_CONTEXT_FLAGS message property tag.

Constant Value Description

CE_CONTEXT_DISABLE_REPLY

0x00000001

Disable the Reply and Reply All menu items for this message.

CE_CONTEXT_DISABLE_FORWARD

0x00000002

Disable the Forward menu item for this message.

CE_CONTEXT_DISABLE_DELETE

0x00000004

Disable the Delete menu for this message.

CE_CONTEXT_DISABLE_MOVE

0x00000008

Disable the Move menu item for this message.

CE_CONTEXT_DISABLE_FLAG

0x00000010

Disable the Flag-related (for follow-up) menu items for this message.

CE_CONTEXT_DISABLE_MARKREAD

0x00000020

Disable the Mark as Read/Unread menu items for this message.

See Also

Reference

PR_CE_CONTEXT_FLAGS

Other Resources

MAPI Flags