IMAPIControl : IUnknown

Last modified: January 16, 2009

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Enables and disables a button control, and performs tasks when a user of a client application clicks the enabled control. Service providers implement control objects to create custom buttons on dialog boxes, such as configuration property sheets, that are defined by using display tables.

For more information about how to work with display tables and control objects, see Display Tables.

Header file:

Mapidefs.h

Exposed by:

Control objects

Implemented by:

Service providers

Called by:

MAPI

Interface identifier:

IID_IMAPIControl

Pointer type:

LPMAPICONTROL

GetLastError

Returns a MAPIERROR structure that contains information about the previous button control error.

Activate

Performs a task such as displaying a dialog box or starting a programmatic operation when a client application user clicks the button control.

GetState

Retrieves a value that indicates whether the button control is enabled or disabled.

Show:
© 2015 Microsoft