CFrameWnd::SetActiveView

This method is automatically called by the framework to set the active view as the user changes the focus to a view within the frame window. You can explicitly call SetActiveView to change the focus to the specified view.

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

void SetActiveView( CView* pViewNew, BOOL bNotify = TRUE );

See Also

CFrameWnd::GetActiveView, CView::OnActivateView, CFrameWnd::GetActiveDocument