|
virtual |
Creates a CBCGPToolBar object with additional styles.
Call this function to create a control bar control and attach it to the CBCGPToolBar object.
Use CreateEx, instead of Create(), when certain styles need to be present during the creation of the embedded control bar control. For example, set dwCtrlStyle to TBSTYLE_FLAT | TBSTYLE_TRANSPARENT to create a toolbar that resembles the Internet Explorer 4 toolbars.
pParentWnd | Pointer to the window that is the toolbar's parent. |
dwCtrlStyle | Additional styles for the creation of the embedded control bar object. |
dwStyle | The toolbar style. See Toolbar Control and Button Styles in the Platform SDK for a list of appropriate styles. |
rcBorders | A CRect object that defines the widths of the toolbar window borders. |
nID | The toolbar's child-window ID. |
Reimplemented in CBCGPMenuBar.