The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMAPIControl : IUnknown

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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:


Exposed by:

Control objects

Implemented by:

Service providers

Called by:


Interface identifier:


Pointer type:



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


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


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