CWnd::OnActivateApp

afx_msgvoidOnActivateApp(BOOL bActive**, HTASK** hTask );

Parameters

bActive

Specifies whether the CWnd is being activated or deactivated. TRUE means the CWnd is being activated. FALSE means the CWnd is being deactivated.

hTask

Specifies a task handle. If bActive is TRUE, the handle identifies the task that owns the CWnd being deactivated. If bActive is FALSE, the handle identifies the task that owns the CWnd being activated.

Remarks

The framework calls this member function to all top-level windows of the task being activated and for all top-level windows of the task being deactivated.

Note   This member function is called by the framework to allow your application to handle a Windows message. The parameters passed to your function reflect the parameters received by the framework when the message was received. If you call the base-class implementation of this function, that implementation will use the parameters originally passed with the message and not the parameters you supply to the function.

CWnd OverviewClass MembersHierarchy Chart

See Also