Last modified: July 23, 2011
Applies to: Outlook
Performs a task such as displaying a dialog box or starting a programmatic operation when a client application user clicks the button control.
The IMAPIControl::Activate method performs tasks following a user's click of the button control. After the click occurs, as part of the processing of the display table, MAPI makes a call to Activate after first calling IMAPIControl::GetState to determine whether the button is enabled.