Tab Strip Control Style Flags 

A bit mask describing the drawing style of a tab strip control.

The following table lists the bits in the flag and their description:

Bit

Description

TABSTRIP_CS_TABS_TOP

Indicates that the tabs are at the top of the area of the tab strip control. Currently this is the only arrangement possible for tabs in a tab strip.

TABSTRIP_CS_TABS_BOTTOM

Not currently in use.

TABSTRIP_CS_TABS_LEFT

Not currently in use.

TABSTRIP_CS_TABS_RIGHT

Not currently in use.

TABSTRIP_CS_SCROLL_LL

If there are more tabs than can fit on top of the tab strip control area, the tab strip control includes two scroll icons: one for scrolling to the left and one for scrolling to the right. See the illustration below.

If this bit is on, the two scroll icons appear to the left of the tabs.

TABSTRIP_CS_SCROLL_LR

If this bit is on, the left scroll icon is to the left of the tabs, and the right scroll icon is to the right of the tabs.

TABSTRIP_CS_SCROLL_RR

If this bit is on, the two scroll icons appear to the right of the tabs.

TABSTRIP_CS_TEXT_VERTICAL

If this bit is on, the text of the tab buttons is displayed vertically.

TABSTRIP_CS_TAB_AS_TAB

If this bit is on, the tab strip uses tabs. If it is off, the tab strip uses buttons to emulate the tabs at the top of the control. See the illustrations below.

The following illustration shows the scroll icons that appear if there are more tab buttons than can fit at the top of the tab strip control area. In this illustration, both scroll icons are to the right of the tabs. (The TABSTRIP_CS_SCROLL_RR bit is on in this case):

The following illustration shows a tab strip control with the tabs displayed as tabs (TABSTRIP_CS_TAB_AS_TAB bit is on):

The following illustration shows a tab strip control with the tabs displayed as buttons (TABSTRIP_CS_TAB_AS_TAB bit is off):

Note that when tab strip tabs are displayed as buttons, it is harder for the end user to tell which of the tabs is selected.