|
virtual |
Creates a Windows control.
Creates a Windows control of lpszClassName class. If you specify WS_CAPTION among other styles it will be turned off and CBCGPBaseControlBar::m_bHasCaption is set to TRUE, because the library does not allow control bars with Windows captions.
You can use all combinations of Windows styles (allowed for child windows) and all MFC control bar (CBRS_) styles.
The library adds several new styles, you should specify them in dwBCGStyle:
dwStyleEx | The extended styles (see CWnd::CreateEx for more details). |
lpszClassName | The window class name. |
lpszWindowName | The window name. |
dwStyle | The window style (see CWnd::CreateEx) |
rect | The initial rectangle. |
pParentWnd | A pointer to the parent window. |
nID | Specifies the control bar ID. Must be unique! |
dwBCGStyle | A special BCGP style. |
pContext | A pointer to CCreateContext |