|
virtual |
Creates a menu bar control and attaches it to a CBCGPMenuBar object.
You construct a CBCGPMenuBar in two steps. First call the constructor, then call Create(), which creates the menu bar control and attaches it to the CBCGPMenuBar object.
You can specify any combination of toolbar styles and window styles as described in documentation for CBCGPBaseControlBar::SetBarStyle function.
pParentWnd | Pointer to the window that is the menu bar's parent. |
dwStyle | Specifies the menu bar style. |
nID | The menu bar's child-window ID. |
Reimplemented from CBCGPToolBar.