Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an OLE frame window.
CFrameWnd* CreateOleFrame(
CWnd* pParentWnd,
CDocument* pDoc,
BOOL bCreateView
);
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.
Return Value
A pointer to a frame window if successful; otherwise NULL.
Remarks
If bCreateView is zero, an empty frame is created.
Requirements
Header: afxwin.h