BCGSuite for MFC
BOOL CBCGPDialogBar::Create ( LPCTSTR  lpszWindowName,
CWnd *  pParentWnd,
BOOL  bHasGripper,
UINT  nIDTemplate,
UINT  nStyle,
UINT  nID 
)

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.
nIDTemplateSpecifies ID of the dialog resource template.
nStyleThe Windows style
nIDThe control ID.