IMsoComponentManager::FOnComponentActivate Method
Applies to: Office 2010
Notifies the component manager that the component that is identified by the dwComponentID parameter was activated.
BOOL FOnComponentActivate(
DWORD_PTR dwComponentID
);
Parameters
- dwComponentID [in]
The ID of the component being activated.
Return Value
TRUE if the method ran successfully; otherwise, FALSE.
Remarks
The active component receives the chance to process the messages (by calling the IMsoComponent::FPreTranslateMessage method) before the messages are dispatched. Typically, the active component receives the first check at idle time after the host.