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.
afx_msg void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories