|
virtual |
Creates the Windows control and attaches it to the CBCGPDockingControlBar object.
It checks dwStyle and, if it has CBRS_FLOAT_MULTI flag, sets the m_pMiniFrameRTC member to a pointer to CBCGPMultiMiniFrameWnd runtime class information, enabling in this way the ability to float in the mini-frame window with another control bars. By default, docking control bars can float alone having a CBCGPMiniFrameWnd objects as parents.
The function checks the dwTabbedStyle parameters and if it has CBRS_BCGP_OUTLOOK_TABS flag specified, it sets the m_pTabbedControlBarRTC member to a pointer to CBCGPOutlookBar runtime class information, enabling the ability to create outlook-style tabbed bars when another control bar is attached to this control bar using the AttachToTabWnd() function. By default, docking control bars create regular tabbed control bars of CBCGPTabbedControlBar type.
| dwStyleEx | Specifies the extended style of the CWnd being created. |
| lpszCaption | Points to a null-terminated character string that contains the window name. |
| pParentWnd | The parent window. |
| rect | The size and position of the window, in client coordinates of pParentWnd. |
| bHasGripper | Specifies whether the control bar should be created with caption (TRUE) or without caption. |
| nID | The ID of the child window. Must be unique if you want to save docking state for this docking control bar. |
| dwStyle | Specifies the window style attributes. |
| dwTabbedStyle | Specifies the tabbed style of a tabbed window that will be created when the user drags another control bar on the caption of this control bar. |
| dwBCGStyle | Specifies the additional BCGP style attributes. |
| pContext | The create context of the window. |