HeaderPane
Main
Hide

SftTabs/DLL 7.0 Documentation

Share Link
Print

SftTabs/DLL Wizard - Design Pages

The SftTabs/DLL Wizard uses several design property pages - Style, Tabs, ToolTips, Fonts, Colors, Class Info, Events and Control - to design a tab control layout and populate it with tabs. Settings made on these pages are reflected immediately in the sample tab control. When the desired layout has been achieved, the C and C++/MFC tabs produce the source code needed to create and initialize the tab control in an application. For detailed information about an individual setting, move the input focus to that control and hit F1.

Style

The Style page controls the overall appearance of the tab control - the basic tab style, scrolling, the Minimize/Restore/Close buttons, tab and row layout, borders and label rendering.

LabelDescription
StyleSelects the basic tab control style.
Use exact window regionUses an exact window region so the parent's background shows through the unused parts of a non-rectangular tab shape.
Use themesDraws the control using the current Windows visual theme.
Scrollable tabsEnables scrollable tabs (restricted to a single row); some styles do not support scrolling.
Scroll buttonsOptions to hide the scroll buttons, hide them only when all tabs are visible, place them on the left or top, make them full tab size, or show a ragged edge for a truncated tab.
Button style / alignment (scroll)Selects the button style and alignment used for the scroll buttons.
Minimize / Restore / Close buttonsSelects which of the Minimize, Restore and Close buttons are available on the control.
Enable buttonsEnables or disables the individual Minimize, Restore and Close buttons.
Close button generates WM_CLOSEThe Close button posts a WM_CLOSE message instead of sending a close notification.
Full size buttonsMakes the Minimize/Restore/Close buttons as large as a tab.
Alignment (close buttons)Selects the alignment of the Minimize/Restore/Close buttons.
Fixed width tabsGives every tab the same width (or height for vertical rows) instead of sizing each tab to its label.
Fill rows completelyFills each tab row completely to minimize margins.
Bold font for active tabDraws the active tab's label in bold.
Tabs per row / Tab rowsSets the number of tabs per row and the number of rows.
Allow all tabs to be inactiveAllows every tab to be deactivated at the same time.
Row indentationUses the style's automatic row indentation or an explicit pixel offset for a cascading multi-row layout.
MarginsSets the left and right margins, or uses the style's built-in margin.
3D border outlineAdjusts the control's colors for a 3D outline; turn it off on backgrounds unsuitable for 3D rendering.
Provide client areaProvides a client area for pages and child controls (not supported by all styles).
Multiline labelsAllows tab labels to contain line breaks.
Use drawing callbackPaints selected tabs through a drawing callback and generates the matching callback sample code.
Drop label if it doesn't fitOmits a tab's label when it does not fit (best used with graphic tabs).
Show '...' if text truncatedAppends a trailing ellipsis to truncated label text.
Enable ToolTipsDisplays the ToolTips defined on the ToolTips page.
Enable flyby highlightsHighlights a tab's label when the mouse cursor moves over it.
Show focus rectangleDraws a focus rectangle around the active tab's label when the control has the input focus.

Tabs

The Tabs page edits the list of individual tabs and their per-tab properties, and adds, inserts or deletes tabs.

LabelDescription
Tab labelClick a tab label to edit its text; click elsewhere or press Return to finish.
Enabled / HiddenSets each tab's status - enabled or disabled, and visible or fully hidden.
Sample picture / alignmentAssigns a sample tab graphic and its alignment (an application supplies its own images at run time).
Active colorsThe foreground and background colors (or a background gradient) used when the tab is active.
Inactive colorsThe foreground and background colors (or a background gradient) used when the tab is not active, plus the flyby highlight color.
Client-area colorThe client-area background color (or gradient) associated with the tab.
Use client-area colorFills the frames of the rows behind the current row with each tab's client-area color.
Add / Insert / DeleteAdds a tab at the end, inserts a tab after the selected tab, or deletes the selected tab.
Copy colorsCopies a tab's active colors to its inactive colors, for the selected tab or for all tabs.

ToolTips

The ToolTips page enables and edits the ToolTip text for the tabs and buttons.

LabelDescription
Enable ToolTipsEnables display of ToolTips for the tabs and for the scroll and Minimize/Restore/Close buttons.
ToolTips gridLists the ToolTip text for each tab and button; click an entry in the ToolTip Text column to change it.

Fonts

The Fonts page selects the font used throughout the tab control.

LabelDescription
FontSelects the single font used for all tabs.

Colors

The Colors page defines the named control-area colors and the background bitmaps for the tab control.

LabelDescription
Control area / ColorSelect a control area, then view or change its color.
Inside / Outside backgroundAssigns or clears the inside and outside background bitmaps (illustrative only - the generated code declares them but does not load them).

Class Info

Based on the information entered on this page, the generated source code is adjusted to reflect the following settings:

LabelDescription
C variable nameThe variable that holds the tab control's window handle in a C application. This field is not used for C++ applications.
C++ object nameThe variable name for the C++ tab control object (CSftTabs) in the parent window. This field is not used for C applications.
Control IDThe ID used for the control in a DIALOG resource and as its child-window ID.
Tabbed dialog or windowSelects a tabbed dialog (CSftTabsDialog / CSftTabsPage) or a tabbed window (CSftTabsWindowSheet / CSftTabsWindowPage).
Dialog/resource or run timeSelects whether the control lives in a dialog or resource-based window, or is created at run time.
Sheet class / base classThe class name (and its base class) for the main window that contains the tab control.
Page class / base classThe class name (and its base class) used for the generated tab pages.

Events

All notifications generated by the tab control are displayed in a list as they occur. Interact with the sample tab control to populate the list. This is useful for understanding which notifications fire and when. The Clear All button clears the list.

Control

The Control tab provides an immediate, read-only view of the SFTTABS_CONTROL structure for the current tab control. Every member is shown with the value taken from the sample tab control, and the display updates as changes are made on the other pages.


Last Updated 06/21/2026 - (email)
© 2026 Softel vdm, Inc.