CFrameWnd* CreateOleFrame( CWnd* pParentWnd, CDocument* pDoc, BOOL bCreateView );
Return Value
A pointer to a frame window if successful; otherwise NULL.
Parameters
pParentWnd
A pointer to the frame’s parent window.
pDoc
A pointer to the document to which the new OLE frame window should refer.
bCreateView
Determines whether a view is created along with the frame.
Remarks
Creates an OLE frame window. If bCreateView is zero, an empty frame is created.
CDocTemplate Overview | Class Members | Hierarchy Chart
See Also CDocTemplate::CreateNewFrame, COleDocument, COleIPFrameWnd