Compartir a través de


OleComponent.IOleComponent.OnAppActivate Method

Microsoft internal use only.

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

Syntax

'Declaration
Private Sub OnAppActivate ( _
    fActive As Integer, _
    dwOtherThreadID As UInteger _
) Implements IOleComponent.OnAppActivate
void IOleComponent.OnAppActivate(
    int fActive,
    uint dwOtherThreadID
)
private:
virtual void OnAppActivate(
    int fActive, 
    unsigned int dwOtherThreadID
) sealed = IOleComponent::OnAppActivate
private abstract OnAppActivate : 
        fActive:int * 
        dwOtherThreadID:uint32 -> unit  
private override OnAppActivate : 
        fActive:int * 
        dwOtherThreadID:uint32 -> unit
JScript does not support explicit interface implementations.

Parameters

  • fActive
    Type: Int32

    If TURE (1), the host app is being activated, if FALSE (0) the host app is being deactivated.

  • dwOtherThreadID
    Type: 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