BOOL Create( const char FAR* lpClassName, const char FAR* lpWindowName, DWORD dwStyle, const RECT& rect, const CWnd* pParentWnd, const char FAR* lpMenuName );
lpClassName
Points to a null-terminated character string that names the Windows class (a WNDCLASS struct). The class name can be any name registered with the afxRegisterWndClass function or any of the predefined control-class names. If NULL, uses the predefined default CMDIFrameWnd attributes.
lpWindowName
Points to a null-terminated character string that represents the window name. Used as text for the title bar.
dwStyle
Specifies the window style attributes. See the CreateEx member function in the CWnd class for a full list of window styles.
rect
Contains the size and position of the window. The rectDefault value allows Windows to specify the size and position of the new CMDIFrameWnd.
pParentWnd
Specifies the parent window of this MDI frame window. This parameter should be NULL for top-level MDI frame windows.
lpMenuName
Identifies the name of the menu resource to be used with the window. Use MAKEINTRESOURCE if the menu has an integer ID instead of a string. This parameter can be NULL.
Creates the Windows MDI frame window and attaches it to the CMDIFrameWnd object.
TRUE if successful; otherwise FALSE.