Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CMDIChildWnd::Create
CMDIChildWnd                                Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL Create( const char FAR* lpClassName, const char FAR* lpWindowName,
               DWORD dwStyle = 0, const RECT& rect = rectDefault,
               CMDIFrameWnd* pParentWnd = NULL );
 
  Parameter      Description
 
  <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.
                 Should be NULL for a standard CMDIChildWnd.
 
  <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.
 
  <rect>         Contains the size and position of the window. The
                 rectDefault value allows Windows to specify the size and
                 position of the new CMDIChildWnd.
 
  <pParentWnd>   Specifies the window's parent. If NULL, the main
                 application window is used.
 
  Remarks
 
  Creates the Windows MDI child window and attaches it to the CMDIChildWnd
  object.
 
  Return Value
 
  TRUE if successful; otherwise FALSE.
 
  See Also
 
  CMDIChildWnd::CMDIChildWnd
 
 
                                     -♦-