IMsoComponent::OnAppActivate 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 when the host application gains or loses activation.

void OnAppActivate(
   BOOL fActive,
   DWORD dwOtherThreadID
);

Parameters

  • fActive [in]
    TRUE to indicate that the host application is being activated and the dwOtherThreadID parameter is the ID of the thread that owns the window being deactivated. FALSE to indicate that the host application is being deactivated and the dwOtherThreadID parameter is the ID of the thread that owns the window being activated.

  • dwOtherThreadID [in]
    The thread ID of the window that is being activated or deactivated.

See Also

Reference

IMsoComponent Interface