Share via


SimpleEditorView.OnAppActivate(Int32, UInt32) Method

Definition

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

public:
 virtual void OnAppActivate(int fActive, System::UInt32 dwOtherThreadID);
public:
 virtual void OnAppActivate(int fActive, unsigned int dwOtherThreadID);
 virtual void OnAppActivate(int fActive, unsigned int dwOtherThreadID);
public virtual void OnAppActivate (int fActive, uint dwOtherThreadID);
abstract member OnAppActivate : int * uint32 -> unit
override this.OnAppActivate : int * uint32 -> unit
Public Overridable Sub OnAppActivate (fActive As Integer, dwOtherThreadID As UInteger)

Parameters

fActive
Int32

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

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

Implements

Remarks

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.

Applies to