CDocTemplate::CreateOleFrame
Creates an OLE frame window.
CFrameWnd* CreateOleFrame(
CWnd* pParentWnd,
CDocument* pDoc,
BOOL bCreateView
);
Параметры
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.
Возвращаемое значение
A pointer to a frame window if successful; otherwise NULL.
Заметки
If bCreateView is zero, an empty frame is created.
Требования
Header: afxwin.h