MAPI_DisplayDialog()

Examples


The MAPI_DisplayDialog() function displays the MAPI message addressing dialog that allows a user to specify who a message will be sent to. An existing address list can be displayed in this dialog.

Syntax

MAPI_DisplayDialog(address_list_ID, dialog_title)

Parameters

address_list_ID – The ID of the address list that contains addresses to display and to which an address list will be returned.

dialog_title – A string specifying the title that appears at the top of the addressing dialog.

Return value

A boolean. True indicates that the user clicked OK and no error occurred. False indicates that either the user clicked Cancel or an error occurred.

Comments

A typical MAPI addressing dialog is shown in the following illustration.

[spacer]


Documentation Feedback