CMFCReBar::Create
Creates the rebar control and attaches it to the CMFCReBar object.
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
);
Parameters
[in] [out] pParentWnd
A pointer to the parent window of this rebar control.[in] dwCtrlStyle
Specifies the style for the rebar control. The default style value is RBS_BANDBORDERS, which displays narrow lines to separate adjacent bands on the rebar control. For a list of valid styles, see Rebar Control Styles in the Windows SDK documentation.[in] dwStyle
The window style of the rebar control. For a list of valid styles, see Window Styles.[in] nID
The rebar's child-window ID.
Return Value
TRUE if the rebar was created successfully; otherwise, FALSE.
Requirements
Header: afxRebar.h