Called by MFC when a view is activated or deactivated.
void OnActivateView(
   bool activate
);
Parameters
- activate
 Indicates whether the view is being activated or deactivated.
Requirements
Header: afxwinforms.h
See Also
Tasks
How to: Add Command Routing to the Windows Forms Control