Compartilhar via


CommonMessagePump.IOleComponent2Private.OnAppActivate Method

Called when an application is being activated or deactivated.

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

Syntax

'Declaração
Private Sub OnAppActivate ( _
    fActive As Integer, _
    dwOtherThreadID As UInteger _
) Implements IOleComponent2Private.OnAppActivate
void IOleComponent2Private.OnAppActivate(
    int fActive,
    uint dwOtherThreadID
)

Parameters

  • fActive
    Type: System.Int32
    true if the application is being activated, otherwise false.
  • dwOtherThreadID
    Type: System.UInt32
    If the host application is being activated, the ID of the thread that owns the window being deactivated. If the host application is being deactivated, the ID of the thread that owns the window being activated.

Implements

IOleComponent2Private.OnAppActivate(Int32, UInt32)

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace