BCGControlBar Pro for MFC
BOOL CBCGPCaptionBar::Create ( DWORD  dwStyle,
CWnd *  pParentWnd,
UINT  uID,
int  nHeight = -1,
BOOL  bIsMessageBarMode = FALSE 
)

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

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

Parameters
dwStyleSpecifies the caption bar styles.
pParentWndSpecifies the caption bar control's parent window, usually a CFrameWnd - derived. It must not be NULL.
uIDSpecifies ID of caption bar control.
nHeightSpecifies a height, in pixels, of the caption bar control. If it is -1, the height is calculated according to the height of icon, text and button.
bIsMessageBarModeTells whether the caption bar works in the "message bar" mode.