SECTabWnd::Create

BOOLSECTabWnd::Create(CWnd*pParentWnd, DWORDdwStyle, UINTnID)

You construct an SECTabWnd object in two steps. First call the constructor SECTabWnd, then call Create, which initializes the Windows window, attaches it to the SECTabWnd object, and creates the fonts used to draw tab labels.

Apply the following window styles to an SECTabWnd object:

WS_CHILD - Always
WS_VISIBLE - Usually
TWS_LEFTRIGHTSCROLL - The tabbed window is created with two buttons used to scroll the tabs right and left.
TWS_FULLSCROLL - The tabbed window will have full scrolling support. This is a superset of the TWS_LEFTRIGHTSCROLL style, adding two additional buttons. The additional buttons cause the tabbed window to jump to the first or last tab when pressed.
TWS_TBS_TABS_ON_BOTTOM - The tabbed window is created with tabs on the bottom.
If neither TWS_LEFTRIGHTSCROLL nor TWS_FULLSCROLL style is specified, no buttons will be displayed for scrolling the tabs left and right. Other TWS_ window style entries exist; see tabwnd.h.

Defined in: tabwnd.cpp

Return Value

Returns TRUE on success; FALSE otherwise.

Parameters

pParentWnd

Specifies the tabbed window’s parent window.

dwStyle

Specifies the style of the tabbed window.

nID

Specifies the tabbed window’s window ID.

See Also

Create

SECTabWnd