Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the styles that are supported by Windows Embedded CE.

Tab control style Description

TCS_BOTTOM

Displays the tabs at the bottom of the control. If the TCS_VERTICAL style is also specified, this style is interpreted as TCS_RIGHT.

TCS_BUTTONS

Displays all tabs as buttons with no border drawn around the display area.

TCS_EX_FLATSEPARATORS

Indicates that the tab control will draw separators between the tab items. This extended style only affects tab controls that have the TCS_BUTTONS and TCS_FLATBUTTONS styles. By default, creating the tab control with the TCS_BUTTONS style or with the TCS_FLATBUTTONS style sets this extended style. If you do not require separators, you should remove this extended style after creating the control.

TCS_FIXEDWIDTH

Specifies that all tabs are the same width. You cannot combine this style with the TCS_RIGHTJUSTIFY style.

TCS_FLATBUTTONS

Changes the appearance of a selected tab to indented while other tabs appear to be on the same plane as the background. This style only applies to tab controls that have the TCS_BUTTONS style.

TCS_FOCUSNEVER

Creates a tab control that never receives the input focus.

TCS_FOCUSONBUTTONDOWN

Specifies that a given tab, when selected, receives the input focus.

TCS_FORCEICONLEFT

Aligns an icon with the left edge of a fixed-width tab. This style can only be used with the TCS_FIXEDWIDTH style.

TCS_FORCELABELLEFT

Aligns a label with the left edge of a fixed-width tab; that is, it displays the label immediately to the right of the icon instead of centering it. This style can only be used with the TCS_FIXEDWIDTH style, and it implies the TCS_FORCEICONLEFT style.

TCS_MULTILINE

Displays multiple rows of tabs, if necessary, so that all tabs are visible at once.

TCS_MULTISELECT

Specifies that multiple tabs can be selected by holding down CTRL when selecting a tab. This style only applies to tabs that have the TCS_BUTTONS style.

TCS_OWNERDRAWFIXED

Specifies that the parent window is responsible for drawing tabs.

TCS_RAGGEDRIGHT

Leaves a ragged right edge by not stretching a row of tabs to fill the entire width of the control. This style is the default.

TCS_RIGHT

Displays multiple tabs vertically on the right side of controls that use the TCS_VERTICAL style. If the TCS_VERTICAL style is not specified, this style is interpreted as TCS_BOTTOM.

TCS_RIGHTJUSTIFY

Increases the width of each tab, if necessary, so that each row of tabs fills the entire width of the tab control. This style is valid only when it is used with the TCS_MULTILINE style.

TCS_SCROLLOPPOSITE

Specifies that unused tabs move to the opposite side of the control when a new tab is selected.

TCS_SINGLELINE

Displays only one row of tabs. The user can scroll to see more tabs, if necessary. This style is the default.

TCS_VERTICAL

Displays multiple tabs vertically on the left side of the control. This style is valid only when it is used with the TCS_MULTILINE style. To make tabs appear on the right side of the control, combine this style with the TCS_RIGHT style.

See Also