BOOL CBCGPReBar::Create | ( | CWnd * | pParentWnd, |
DWORD | dwCtrlStyle = RBS_BANDBORDERS , |
||
DWORD | dwStyle = WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS|WS_CLIPCHILDREN|CBRS_TOP , |
||
UINT | nID = AFX_IDW_REBAR |
||
) |
Creates the rebar control and attaches it to the CBCGPReBar object.
Call this member function to create a rebar.
pParentWnd | Pointer to the CWnd object whose 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. |