SimpleEditorView::OnAppActivate Method (Int32, UInt32)

 

Notifies the component whenever the host application is activated or deactivated.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual void OnAppActivate(
	int fActive,
	unsigned int dwOtherThreadID
)

Parameters

fActive
Type: System::Int32

If true, the host application is being activated, otherwise it is being deactivated.

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 owning the window being activated.

By default this method does nothing.

This method is not called when both the window being activated and the one being deactivated belong to the host application.

Return to top
Show: