# SftTabs/DLL 7.0 — API Reference > Index of the SftTabs/DLL 7.0 API reference, which is split into files by class or object. Each entry links one file and names the topics in it; read only the files you need. For an exact declaration, read the signatures file named under the class first: one line per member. The guide is in https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0.txt Online documentation: https://softelvdm.com/Documentation/SftTabs%20DLL%207%200 ## Overview - [Overview](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-Overview.txt) - Notifications: The parent window of a tab control receives the following event notifications using the WM_COMMAND messages. - Window Styles: The following tab control window styles are available in addition to the standard window styles (such as WS_BORDER, WS_TABSTOP, etc.). - Extended Window Styles: The tab control does not offer any custom extended window styles. - Windows Messages: The WM_CLOSE message notifies a window that the user clicked the Close button in the tab control. - C/C++ API: An application communicates with the SftTabs/DLL tab control by sending messages using the Windows SendMessage function. - C++ Classes: CSftTabs is derived from CWnd. ## Functions Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-signatures-1.txt - [Functions (1 of 3)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-Functions-1.txt) - ActivatePage (SftTabs_ActivatePage): Activates a page. - AddTab (SftTabs_AddTab): Adds a new tab to a tab control. - AdjustClientRect (SftTabs_AdjustClientRect): Calculates a tab control size which will provide a client area of the given size. - Announce (SftTabs_Announce): Pushes short application-status text to attached screen readers through a UI Automation notification event. - ClosePossible (SftTabs_ClosePossible): The parent window of a tab control calls the SftTabs_ClosePossible function to test if a tabbed dialog or window can be ended. - CopyWindowTitle (SftTabs_CopyWindowTitle): Copies the window caption of a window to another window. - DarkMode (SftTabs_SetDarkMode, SftTabs_GetDarkMode, SftTabs_IsDarkModeActive): Defines whether the tab control is rendered using a dark color palette. - DeactivatePage (SftTabs_DeactivatePage): The parent window of a tab control calls the SftTabs_DeactivatePage function to signal that the current page is no longer the active page. - DeleteTab (SftTabs_DeleteTab): Deletes a tab from the tab control. - Destroy (SftTabs_Destroy): The parent window of a tab control calls SftTabs_Destroy when the parent window is about to be destroyed. - DPI (SftTabs_GetDPI): Returns the effective DPI for the monitor the tab control is currently displayed on. - DrawSelectionOutline (SftTabs_DrawSelectionOutline): Draws a selection outline. - FreeGDIPlusImageLoadedFromFile (SftTabs_FreeGDIPlusImageLoadedFromFile): Deletes a GDI+ image obtained using SftTabs_LoadGDIPlusImageFromFile. - FreeGDIPlusImageLoadedFromResource (SftTabs_FreeGDIPlusImageLoadedFromResource): Deletes a GDI+ image obtained using SftTabs_LoadGDIPlusImageFromResource. - GDIPlusAvailable (SftTabs_GetGDIPlusAvailable): Returns whether GDI+ support is available. - GetAllowAllInactive (SftTabs_GetAllowAllInactive): Returns whether all tabs can become inactive. - GetControlInfo (SftTabs_GetControlInfo): Retrieves tab control attributes. - GetCount (SftTabs_GetCount): Retrieves the number of tabs in a tab control. - GetCtlColors (SftTabs_GetCtlColors): Returns the tab control's color attributes. - GetCurrentTab (SftTabs_GetCurrentTab): Retrieves the index of the currently active tab. - GetDragInfo (SftTabs_GetDragInfo): Returns the drag & drop information while handling SFTTABSN_DRAGMOVE/SFTTABSN_DRAGDROP notifications. - GetEndPageMessage (SftTabs_GetEndPageMessage): Retrieves the private message ID sent to a page of a tabbed dialog when the user chooses to switch to another page or to end the tabbed dialog. - [Functions (2 of 3)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-Functions-2.txt) - GetNextTab (SftTabs_GetNextTab): Retrieves the index of the next tab about to become active. - GetStyleTable (SftTabs_GetStyleTable): Returns a pointer to the style table. - GetTabControlFromPage (SftTabs_GetTabControlFromPage): Returns the tab control window handle, given the window handle of a window attached to a tab. - GetTabDialog: Retrieves the CSftTabsPage based object attached to the specified tab. - GetTabInfo (SftTabs_GetTabInfo): Retrieves tab attributes. - GetTabLabel (SftTabs_GetTabLabel): Retrieves a tab's text. - GetTabLabelLen (SftTabs_GetTabLabelLen): Retrieves the length of a tab's text. - GetTabWindowPage: Retrieves the CSftTabsWindowPage based object attached to the specified tab. - GetToolTip (SftTabs_GetToolTip): Retrieves a tab's ToolTip text. - GetToolTipHandle (SftTabs_GetToolTipHandle): Returns the window handle of the ToolTip control used by the tab control. - GetToolTipLen (SftTabs_GetToolTipLen): Retrieves the length of a tab's ToolTip text. - GetVisibleCount (SftTabs_GetVisibleCount): Retrieves the count of visible tabs. - HandleDialogMessage (SftTabs_HandleDialogMessage): The parent dialog window of a tab control and the dialogs used as pages of a tab control call SftTabs_HandleDialogMessage to pass messages on to SftTabs/DLL so they can be processed. - HandleWindowMessage (SftTabs_HandleWindowMessage): The parent window of a tab control and the windows or dialogs used as pages of a tab control call SftTabs_HandleWindowMessage to pass messages on to SftTabs/DLL so they can be processed. - HighContrastMode (SftTabs_SetHighContrastMode, SftTabs_GetHighContrastMode, SftTabs_IsHighContrastActive): Defines whether the tab control honors the Windows High Contrast accessibility setting. - HitTest (SftTabs_HitTest): Determines the tab index of the tab at a given location. - ImageScaling (SftTabs_SetImageScaling, SftTabs_GetImageScaling): Defines how images drawn by the tab control are scaled relative to the current monitor DPI. - InsertTab (SftTabs_InsertTab): Inserts a new tab at the specified position. - IsHiRes (SftTabs_IsHiRes): Returns whether high resolution support is enabled. - IsRegisteredDialog / -Window (SftTabs_IsRegisteredDialog, SftTabs_IsRegisteredWindow): Determines whether a given window or dialog is registered with SftTabs/DLL for special tabbed dialog or tabbed window handling, such as accelerator key handling, ESCAPE and TAB key processing, etc. - IsTabControl (SftTabs_IsTabControl): Determines whether a given window is a tab control. - IsTabControlWithDialog (SftTabs_IsTabControlWithDialog, SftTabs_IsTabControlWithPage): Determines whether a given window is a tab control with an attached page. - LoadGDIPlusImageFromFile (SftTabs_LoadGDIPlusImageFromFile): Loads a GDI+ image from a file. - LoadGDIPlusImageFromResource (SftTabs_LoadGDIPlusImageFromResource): Loads a GDI+ image from an application's or DLL's resources. - MoveTab (SftTabs_MoveTab): Moves a tab within a tab control. - PaintBitmap (SftTabs_PaintBitmap): Paints a bitmap. - PaintTiledBitmap (SftTabs_PaintTiledBitmap): Paints a bitmap, tiling it if necessary. - [Functions (3 of 3)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-Functions-3.txt) - PixelScaling (SftTabs_SetPixelScaling, SftTabs_GetPixelScaling): Defines how caller-supplied pixel dimensions (margins, forced tab size, etc.) are interpreted relative to the current monitor DPI. - QueryChar (SftTabs_QueryChar): Tests if a tab control responds to the specified character, i.e. - RegisterApp (SftTabs_RegisterApp): Registers the application for use of SftTabs/DLL controls. - RegisterDialog (SftTabs_RegisterDialog, SftTabs_RegisterWindow): Registers a window or a dialog containing a tab control. - ResetContent (SftTabs_ResetContent): Removes all tabs from a tab control. - ResizePages (SftTabs_ResizePages): Resizes attached pages when using a frame window. - ScrollTabs (SftTabs_ScrollTabs): Scrolls tabs in the direction specified. - SetAllowAllInactive (SftTabs_SetAllowAllInactive): Defines whether all tabs can become inactive. - SetControlInfo (SftTabs_SetControlInfo): Sets tab control attributes. - SetCtlColors (SftTabs_SetCtlColors): Sets the tab control's color attributes. - SetCurrentTab (SftTabs_SetCurrentTab): Makes the specified tab the new active tab. - SetCurrentTabEx (SftTabs_SetCurrentTabEx): Makes the specified tab the new active tab. - SetDragInfo (SftTabs_SetDragInfo): Updates the drag & drop information while handling SFTTABSN_DRAGMOVE/SFTTABSN_DRAGDROP notifications. - SetDrawTabCallback (SftTabs_SetDrawTabCallback): Defines a drawing callback routine used to paint tab labels. - SetPageActive (SftTabs_SetPageActive): Notifies a tab control that the page attached to the currently active tab has been activated. - SetPageInactive (SftTabs_SetPageInactive): Notifies a tab control that the page attached to the currently active tab has been deactivated. - SetTabDialog: Sets the CSftTabsPage based object pointer attached to the specified tab. - SetTabInfo (SftTabs_SetTabInfo): Sets the tab attributes for the specified tab. - SetTabLabel (SftTabs_SetTabLabel): Sets a tab's text. - SetTabWindowPage: Sets the CSftTabsWindowPage based object pointer attached to the specified tab. - SetToolTip (SftTabs_SetToolTip): Sets a tab's ToolTip text. - SetVersion (SftTabs_SetVersion): Sets the SftTabs/DLL version an application requires. - SwitchTab (SftTabs_SwitchTab): Switches to the next/previous tab. - TransparentControls (SftTabs_TransparentControls): The dialogs used as pages of a tab control call SftTabs_TransparentControls to pass messages on to SftTabs/DLL so they can be processed. - UnregisterApp (SftTabs_UnregisterApp): Unregisters the application. - UnregisterDialog (SftTabs_UnregisterDialog, SftTabs_UnregisterWindow): Unregisters a dialog or window which has been previously registered using SftTabs_RegisterDialog or SftTabs_RegisterWindow. ## CSftTabsWindowPage Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-signatures-1.txt - [CSftTabsWindowPage](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-CSftTabsWindowPage.txt): Functions: ActivatePage, AllowSwitch, DeactivatePage; constructor ## CSftTabsPage Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-signatures-1.txt - [CSftTabsPage](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-CSftTabsPage.txt): Functions: AllowDestroy, AllowSwitch, ClosePossible, GetModified, GetParentDialog, InitializeTabControl, OnCancel, OnOK, SetClose, SetModified; constructor; Members: m_flagDrawBackground, m_lpfnDrawBackground, m_pTabCtl, m_UserDataBackground ## CSftTabsDialog Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-signatures-1.txt - [CSftTabsDialog](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-CSftTabsDialog.txt): Functions: ClosePossible, GetModified, InitializeTabControl, OnCancel, OnOK, SetClose, SetModified; constructor; Members: m_fInitializing, m_fModified ## CSftTabsWindowSheet Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-signatures-1.txt - [CSftTabsWindowSheet](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-CSftTabsWindowSheet.txt): Functions: ClosePossible, InitializeTabControl, TabSwitched, TabSwitching, TerminateTabControl; constructor ## CSftTabs Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-signatures-1.txt - [CSftTabs](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-CSftTabs.txt): Functions: Create; constructor ## Type Definitions and Symbols Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-signatures-1.txt - [Type Definitions and Symbols](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-Type-Definitions-and-Symbols.txt) - SFTTABS_CLASS: Defines the SftTabs/DLL control window class name. - SFTTABS_DRAWBACKGROUNDPROC: Defines the type of a user-supplied drawing callback routine called by SftTabs/DLL, which paints the tab page background. - SFTTABS_DRAWTABPROC: Defines the type of a user-supplied drawing callback routine called by SftTabs/DLL, which paints the tab labels. - SFTTABS_DWORD_PTR: Defines a type large enough to hold a DWORD or pointer value. - SFTTABS_LONG_PTR: Defines a type large enough to hold a long or pointer value. - SFTTABS_MAXROWS: Defines the maximum number of tab rows. - SFTTABS_MAXTABS: Defines the maximum number of tabs per tab control. - SFTTABS_NOCOLOR: Indicates that the default color should be used. - SFTTABS_STATIC: The SFTTABS_STATIC preprocessor symbol defines static linking of SftTabs/DLL to an application. - SFTTABS_TABCALLBACK: Defines the callback function associated with a tab. ## Structures Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-signatures-1.txt - [Structures (1 of 3)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-Structures-1.txt) - SFTTABS_COLORS: The SFTTABS_COLORS structure is used with GetCtlColors and SetCtlColors to retrieve and set a tab control's color attributes. - [Structures (2 of 3)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-Structures-2.txt) - SFTTABS_CONTROL: Describes a tab control's layout and attributes. - SFTTABS_DRAGINFO: The SFTTABS_DRAGINFO structure is used with GetDragInfo/SetDragInfo during tab reordering and drag & drop. - [Structures (3 of 3)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftTabs-DLL-7.0-reference-Structures-3.txt) - SFTTABS_DRAWINFO: The SFTTABS_DRAWINFO structure is passed to an application defined callback routine which can calculate the size or paint the tab labels. - SFTTABS_DRAWPROCPARM: Used as a parameter for SetDrawTabCallback to define an application-specific drawing callback routine, which paints the tab labels. - SFTTABS_GRAPH: Describes a tab's picture component and its location. - SFTTABS_STYLETABLEA: Describes each available tab style. - SFTTABS_TAB: Describes one tab label, including its colors, picture and text components.