BCGControlBar Pro for MFC
virtual BOOL CBCGPControlBar::CreateEx ( DWORD  dwStyleEx,
LPCTSTR  lpszClassName,
DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
DWORD  dwBCGStyle = dwDefaultCBStyle,
CCreateContext *  pContext = NULL 
)
virtual

Creates the Windows control bar and attaches it to the CBCGPControlBar object.

Returns
Nonzero if successful; otherwise 0.

Creates a Windows control bar and attaches it to the CBCGPControlBar object.

CreateEx initializes the control bar's class name and window name and registers values for its style, parent, and ID. The initial rectangle rect will be used as a recent rectangle in floating or docked state, if m_recentDockInfo was not initialized explicitly before the call to CreateEx.

See also
CBCGPRecentDockInfo, CBCGPBaseControlBar::CreateEx
Parameters
dwStyleExSpecifies the extended style of the control bar being created.
lpszClassNamePoints to a null-terminated character string that names the Windows class.
dwStyleSpecifies the window style attributes.
rectThe size and position of the window, in client coordinates of pParentWnd.
pParentWndThe parent window.
nIDThe ID of the control bar.
dwBCGStyleA special BCGStyle. See CBCGPBaseControlBar::CreateEx for details.
pContextThe create context of the control bar.