BCGControlBar Pro for MFC
virtual BOOL CBCGPOutlookBar::Create ( LPCTSTR  lpszCaption,
CWnd *  pParentWnd,
const RECT &  rect,
UINT  nID,
DWORD  dwStyle,
DWORD  dwBCGStyle = CBRS_BCGP_RESIZE,
CCreateContext *  pContext = NULL 
)
virtual

Creates the Windows control and attaches it to the CBCGPOutlookBar object.

Returns
Nonzero if successful; otherwise 0.

You construct a CBCGPOutlookBar object in two steps. First call the constructor, then call Create(), which creates the outlook bar control and attaches it to the CBCGPOutlookBar object.

See CBCGPBaseControlBar::CreateEx for the list of the available library-defined styles to be specified by dwBCGStyle.

Parameters
lpszCaptionSpecifies the window caption.
pParentWndSpecifies a pointer to a parent window. It must not be NULL.
rectSpecifies the outlook bar' size and position.
nIDSpecifies the control ID. Must be unique.
dwStyleSpecifies the desired control bar style.
dwBCGStyleSpecifies the special library-defined styles.
pContextCreate context.