IOleComponent2 Interface
Enables components to participate in message processing while they are waiting for handles.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")> _
Public Interface IOleComponent2 _
Inherits IOleComponent
[InterfaceTypeAttribute()]
[GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")]
public interface IOleComponent2 : IOleComponent
[InterfaceTypeAttribute()]
[GuidAttribute(L"ED0751FC-D772-4D1D-88FC-0C1AA275391B")]
public interface class IOleComponent2 : IOleComponent
[<InterfaceTypeAttribute()>]
[<GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")>]
type IOleComponent2 =
interface
interface IOleComponent
end
public interface IOleComponent2 extends IOleComponent
The IOleComponent2 type exposes the following members.
Methods
Name | Description | |
---|---|---|
FContinueMessageLoop | ||
FDoIdle | ||
FPreTranslateMessage | ||
FQueryTerminate | ||
FReserved1 | ||
GetWaitHandlesAndTimeout | When overridden in a derived class, returns the time-out and the list of handles on which this component is waiting. | |
HwndGetWindow | ||
OnActivationChange | ||
OnAppActivate | ||
OnEnterState | ||
OnHandleSignaled | When overridden in a derived class, enables the component to respond to a signal on a wait handle. | |
OnLoseActivation | ||
OnTimeout | When overridden in a derived class, enables the component to respond to a time-out on the message loop. | |
Terminate |
Top
Remarks
To add the component to the message loop and receive notification of signals, call FPushMessageLoop with a uReason parameter value of oleloopModelessFormWithHandles or oleloopModelessFormWithHandlesNoIdle.