Tab Control Styles

Tab control styles supported by Windows CE are described in the following table.

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_FIXEDWIDTH Specifies that all tabs are the same width. You can not 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_FLIP Flips all tabs from top to bottom or left to right, and visa versa.
TCS_FOCUSNEVER Creates a tab control that never receives the input focus.
TCS_FOCUSONBUTTONDOWN Specifies that a tab which, 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 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 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.

Because Windows CE does not support ToolTips for any controls other than command bar buttons, it does not support the TCS_TOOLTIPS style.