BCGSuite for MFC
BOOL CBCGPDialogBar::Create ( LPCTSTR  lpszWindowName,
CWnd *  pParentWnd,
BOOL  bHasGripper,
LPCTSTR  lpszTemplateName,
UINT  nStyle,
UINT  nID,
DWORD  dwTabbedStyle = AFX_CBRS_REGULAR_TABS,
DWORD  dwBCGStyle = AFX_DEFAULT_DOCKING_PANE_STYLE 
)

Creates the Windows dialog bar object and attaches it to CBCGPDialogBar

Returns
TRUE if the function succeeds; otherwise FALSE.

See CBCGPDockingControlBar::Create for more information about possible styles.

Parameters
lpszWindowNameSpecifies the window name.
pParentWndPoints to the parent window.
bHasGripperSpecifies whether the dialog bar should be created with caption (TRUE) or without caption.
lpszTemplateNameSpecifies the name of the resource dialog template.
nStyleThe Windows style
nIDThe control ID.
dwTabbedStyleSpecifies the tabbed style of a tabbed window that will be created when the user drags another control bar on the caption of this control bar.
dwBCGStyleSpecifies the additional BCGP style attributes.