CFrameWnd::SetActiveView

Call this member function to set the active view. The framework will Call this member function automatically 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.

Syntax

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

At a Glance

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

See Also

CFrameWnd Overview, CFrameWnd Member Functions, Frame Windows and Splitter Windows, CFrameWnd::GetActiveView, CView::OnActivateView, CFrameWnd::GetActiveDocument