IMsoComponentManager::FOnComponentActivate Method
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.
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.