|
virtual |
Creates the control bar control and attaches it to a CBCGPToolBar object.
Call this function to create a control bar control and attach it to the CBCGPToolBar object. The control is created with the default TBSTYLE_FLAT style. If you need to provide additional control bar styles other than default, call CreateEx().
pParentWnd | Pointer to the window that is the toolbar's parent. |
dwStyle | The toolbar style. See Toolbar Control and Button Styles in the Platform SDK for a list of appropriate styles. |
nID | The toolbar's child-window ID. |
Reimplemented in CBCGPMenuBar, and CBCGPCalculator.