BCGControlBar Pro for MFC
virtual BOOL CBCGPOutlookBarPane::Create ( CWnd *  pParentWnd,
DWORD  dwStyle = dwDefaultToolbarStyle,
UINT  uiID = (UINT)-1,
DWORD  dwBCGStyle = 0 
)
virtual

Creates the outlook bar pane control and attaches it to the CBCGPOutlookBarPane object.

Returns
Nonzero if successful; otherwise 0.

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

For more information about dwBCGStyle see CBCGPBaseControlBar::CreateEx.

Parameters
pParentWndSpecifies the outlook bar pane control's parent window. It must not be NULL.
dwStyleThe window style.
uiIDThe control ID. Must be unique in order to enable saving state.
dwBCGStyleSpecifies special styles that will define the behavior of the outlook bar pane control when it's detached from the outlook bar.