CView::OnActivateView

This method is called by the framework when a view is activated or deactivated. The default implementation of this method sets the focus to the view being activated.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual void OnActivateView( BOOL bActivate, CView* pActivateView,
CView*
pDeactiveView );

See Also

CWnd::OnActivate, CFrameWnd::SetActiveView, CFrameWnd::GetActiveView