BOOL CBCGPTabWnd::Create | ( | Style | style, |
const RECT & | rect, | ||
CWnd * | pParentWnd, | ||
UINT | nID, | ||
Location | location = LOCATION_BOTTOM , |
||
BOOL | bCloseBtn = FALSE |
||
) |
Creates the Windows control and attaches it to the CBCGPTabWnd object.
You construct a CBCGPTabWnd object in two steps. First call the constructor, then call Create(), which creates the Windows control and attaches it to the CBCGPTabWnd object.
Apply the following styles to a tab control:
Apply the following location flags to a tab control:
style | Specifies the window style |
rect | Specifies the size and position. |
pParentWnd | A pointer to a parent window. Must not be NULL. |
nID | The control ID. |
location | Location of tabs. |
bCloseBtn | Set this parameter to TRUE if you wish to create tab control with a close button. |