CWnd::OnActivate

The framework calls this member function when a CWnd object is being activated or deactivated. First, the main window being deactivated has OnActivate called, and then the main window being activated has OnActivate called. This member function is called by the framework to allow your application to handle a Windows message.

Syntax

afx_msg void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories