CDocTemplate::InitialUpdateFrame

This method is called after creating a new frame with CreateNewFrame, and it causes the views in that frame window to receive their OnInitialUpdate calls. Also, if there was not previously an active view, the primary view of the frame window is made active; the primary view is a view with a child identifier of AFX_IDW_PANE_FIRST. Finally, the frame window is made visible if bMakeVisible is nonzero. If bMakeVisible is zero, the current focus and visible state of the frame window will remain unchanged.

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 InitialUpdateFrame( CFrameWnd* pFrame, CDocument* pDoc, BOOL bMakeVisible = TRUE );

See Also

CView::OnInititalUpdate, CFrameWnd::SetActiveView, CDocTemplate::CreateNewFrame