This documentation is archived and is not being maintained.

IMsoComponent Interface

Office 2007

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.

Provides components that need idle time, such as packages that manage modeless top-level windows, with access to the message loop and other facilities. Register the interface with the component manager that implements the IMsoComponentManager interface.

Inherits from


Interface identifier

IID_IMsoComponent = {000C0600-0000-0000-C000-000000000046}


This method is reserved for internal use and is not intended to be used in your code. This method always returns TRUE.


Enables components to process a message before the message is translated and is dispatched. Components can use the TranslateAccelerator function, use the IsDialogMessage function, modify the pMsg parameter, or take some other action.


Notifies a component when the application enters or exits the state specified by the uStateID parameter.


Notifies the component when the host application gains or loses activation.


Notifies the active component that it has lost its active status because the host or another component has become active.


Notifies the component when a new object is being activated.


Enables the component to do idle-time tasks.


Indicates whether the message loop pushed by the component should continue.


Indicates whether the component can terminate.


Terminates the registration of the IMsoComponent interface.


Retrieves a window that is associated with the component.