IOleComponent::OnAppActivate Method (Int32, UInt32)
Visual Studio 2015
Notifies the component when the host application gains or loses activation.
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Parameters
- fActive
-
Type:
System::Int32
True if the application is being activated, false if it is losing activation.
- dwOtherThreadID
-
Type:
System::UInt32
The ID of the thread that owns the window.
If fActive is true, the host app is being activated and dwOtherThreadID is the ID of the thread owning the window being deactivated. If fActive is false, the host app is being deactivated and dwOtherThreadID is the ID of the thread owning the window being activated.
This method is not called when both the window being activated and the one being deactivated belong to the host app.
Show: