共用方式為


OleComponent.IOleComponent.OnAppActivate Method

Microsoft internal use only.

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

Syntax

'宣告
Private Sub OnAppActivate ( _
    fActive As Integer, _
    dwOtherThreadID As UInteger _
) Implements IOleComponent.OnAppActivate
void IOleComponent.OnAppActivate(
    int fActive,
    uint dwOtherThreadID
)

Parameters

  • fActive
    Type: System.Int32
    If TURE (1), the host app is being activated, if FALSE (0) the host app is being deactivated.
  • dwOtherThreadID
    Type: System.UInt32
    If fActive is TRUE (1) then this is the thread ID of the thread owning the window being deactivated. If fActive is FALSE (0) this is the thread ID of the thread owning the window being activated.

Implements

IOleComponent.OnAppActivate(Int32, UInt32)

.NET Framework Security

See Also

Reference

OleComponent Class

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace