BOOL Create( CWnd* pParentWnd, DWORD dwCtrlStyle = RBS_BANDBORDERS, DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | CBRS_TOP, UINT nID = AFX_IDW_REBAR );
Return Value
Nonzero if successful; otherwise 0.
Parameters
pParentWnd
Pointer to the CWnd object whose Windows window is the parent of the status bar. Normally your frame window.
dwCtrlStyle
The rebar control style. By default, RBS_BANDBORDERS, which displays narrow lines to separate adjacent bands within the rebar control. See Rebar Control Styles in the Platform SDK for a list of styles.
dwStyle
The rebar window styles.
nID
The rebar's child-window ID.
Remarks
Call this member function to create a rebar.
CReBar Overview | Class Members | Hierarchy Chart
See Also CReBarCtrl