This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.
BOOL CreateEx(
   CWnd* pParentWnd,
   DWORD dwCtrlStyle = 0,
   DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_BOTTOM,
   UINT nID = AFX_IDW_STATUS_BAR
);
Parameters
- [in] pParentWnd 
 
- [in] dwCtrlStyle 
 
- [in] dwStyle 
 
- [in] nID 
 
Requirements
Header: afxstatusbar.h