IOleComponent Interface
Provides components needing idle time, such as packages that manage modeless top-level windows, with access to the message loop and other facilities.
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | FContinueMessageLoop(UInt32, IntPtr, MSG[]) | Called during each iteration of a message loop. |
![]() | FDoIdle(UInt32) | Gives the component a chance to do idle time tasks. |
![]() | FPreTranslateMessage(MSG[]) | Processes the message before it is translated and dispatched. |
![]() | FQueryTerminate(Int32) | Called when the component manager wishes to know if the component is in a state in which it can terminate. |
![]() | FReserved1(UInt32, UInt32, IntPtr, IntPtr) | Reserved. |
![]() | HwndGetWindow(UInt32, UInt32) | Gets a window associated with the component. |
![]() | OnActivationChange(IOleComponent, Int32, OLECRINFO[], Int32, OLECHOSTINFO[], UInt32) | Notifies the component when a new object is being activated. |
![]() | OnAppActivate(Int32, UInt32) | Notifies the component when the host application gains or loses activation. |
![]() | OnEnterState(UInt32, Int32) | Notifies the component when the application enters or exits the specified state. |
![]() | OnLoseActivation() | Notifies the active component that it has lost its active status because the host or another component has become active. |
![]() | Terminate() | Terminates the message loop. |
Register the interface with IOleComponentManager.
