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.
void SetActiveView( CView* pViewNew, BOOL bNotify = TRUE );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFrameWnd Overview, CFrameWnd Member Functions, Frame Windows and Splitter Windows, CFrameWnd::GetActiveView, CView::OnActivateView, CFrameWnd::GetActiveDocument