共用方式為


CMDIFrameWndEx::CreateNewWindow

Called by the framework to create a new window.

virtual CMDIChildWndEx* CreateNewWindow(
   LPCTSTR lpcszDocName,
   CObject* pObj
);

Parameters

  • [in] lpcszDocName
    The document name.

  • [in] pObj
    Reserved for future use.

Return Value

A pointer to the new window.

Requirements

Header: afxmdiframewndex.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart