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

'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: 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