CStatusBar::CreateEx

This method creates a status bar (a child window) and associates it with the CStatusBar object. This method also sets the initial font and sets the status bar’s height to a default value.

Use CreateEx, instead of Create, when certain styles need to be present during the creation of the embedded status bar control

At a Glance

Header file: Afxext.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL CreateEx( CWnd* pParentWnd, DWORD dwCtrlStyle = 0 ,

DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_BOTTOM,

UINT nID = AFX_IDW_STATUS_BAR );