CommonMessagePump.IOleComponent2Private.OnAppActivate Method

Called when an application is being activated or deactivated.

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


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


  • 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.


IOleComponent2Private.OnAppActivate(Int32, UInt32)

.NET Framework Security

See Also


CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace