|
virtual |
Creates the Windows control bar and attaches it to the CBCGPControlBar object.
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.
dwStyleEx | Specifies the extended style of the control bar being created. |
lpszClassName | Points to a null-terminated character string that names the Windows class. |
dwStyle | Specifies the window style attributes. |
rect | The size and position of the window, in client coordinates of pParentWnd. |
pParentWnd | The parent window. |
nID | The ID of the control bar. |
dwBCGStyle | A special BCGStyle. See CBCGPBaseControlBar::CreateEx for details. |
pContext | The create context of the control bar. |