Compartir a través de


CommonMessagePump.IOleComponent.OnAppActivate Method

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaración
Private Sub OnAppActivate ( _
    fActive As Integer, _
    dwOtherThreadID As UInteger _
) Implements IOleComponent.OnAppActivate
void IOleComponent.OnAppActivate(
    int fActive,
    uint dwOtherThreadID
)

Parameters

  • fActive
    Type: System.Int32
    True if the application is being activated, false if it is losing activation.
  • dwOtherThreadID
    Type: System.UInt32
    The ID of the thread that owns the window.

Implements

IOleComponent.OnAppActivate(Int32, UInt32)

Remarks

See OnAppActivate for more information.

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace