Hide

SftTabs/DLL 6.5 - Tab Control

Display
Print

Window Styles

The following tab control window styles are available in addition to the standard window styles (such as WS_BORDER, WS_TABSTOP, etc.). The tab control styles can be retrieved using GetWindowLong. It is not possible to set the styles using SetWindowLong. These styles are used to describe the features available with the current tab control. SetControlInfo can be used to change tab control attributes.

Once a tab style has been defined using SetControlInfo by supplying a style value in the SFTTABS_CONTROL structure, the tab control sets the window style bits listed below to indicate what features the current tab control supports. The actual tab style (SFTTABSSTYLE_xxx) can also be found in the window's style information. For an up-to-date list of style values, see the header file SftTb.h in the directory \Program Files (x86)\Softelvdm\SftTabs DLL 6.5\Include (unless changed during installation).

SFTTABSSTYLE_CLIENTAREA (0x2000L)

This style bit is used to determine if the current tab control supports a client area. If this style bit is on, the tab control can be defined as having a client area (using SFTTABS_CONTROL, fClientArea).

SFTTABSSTYLE_HORIZONTAL (0x1000L)

This style bit is used to determine the basic orientation of tab rows. If this style bit is on, the tab control's tabs are arranged horizontally within one row, otherwise they are arranged vertically.

SFTTABSSTYLE_MARGIN (0x0400L)

The tab control supports left and right margins between the tab control border and the first tab.

SFTTABSSTYLE_MULTILINE (0x0100L)

The tab control supports multiline tab labels if this style bit is on, otherwise only single line labels are available.

SFTTABSSTYLE_MULTIROW (0x0800L)

The tab control supports more than one row of tabs if this style bit is on.

SFTTABSSTYLE_SCROLLABLE (0x0200L)

The tab control supports scrollable tabs if this style bit is on.

SFTTABSSTYLE_THEMED (0x4000L)

The tab control supports Windows themes if this style bit is on.

See Also C/C++ API | C++ Classes | Notifications


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.