|
|
|
C/C++ API |
An application communicates with the SftTabs/DLL tab control by sending messages using the Windows SendMessage function. To simplify the process, SftTabs/DLL offers predefined macros for messages. This eliminates the casting of parameters and the use of SendMessage.
Name |
Description |
Defines the SftTabs/DLL control window class name. |
|
Used with GetCtlColors and SetCtlColors to retrieve and set a tab control's color attributes. |
|
Used to describe a tab control's layout and attributes. |
|
Defines the type of a user-supplied drawing callback routine called by SftTabs/DLL, which paints the tab page background. |
|
Passed to an application defined callback routine which can calculate the size or paint the tab labels. |
|
Used as a parameter for SetDrawTabCallback to define an application-specific drawing callback routine, which paints the tab labels. |
|
Defines the type of a user-supplied drawing callback routine called by SftTabs/DLL, which paints the tab labels. |
|
Represents a type large enough to hold a DWORD or pointer value. |
|
Describes a tab's picture component and its location. |
|
Represents a type large enough to hold a long or pointer value. |
|
Defines the maximum number of tab rows. |
|
Defines the maximum number of tabs per tab control. |
|
Indicates that the default color should be used. |
|
Defines static linking of SftTabs/DLL to an application. |
|
Describes each available tab style. |
|
Describes one tab label, including its colors, picture and text components. |
|
Defines the callback function associated with a tab. This callback routine is called by SftTabs/DLL to create and destroy the page associated with a tab. |
Name |
Description |
Activates a page. |
|
Adds a new tab to a tab control. The new tab will be added as the last tab. |
|
Calculates a tab control size which will provide a client area of the given size. |
|
The parent window of a tab control calls the SftTabs_ClosePossible function to test if a tabbed dialog or window can be ended. |
|
Copies the window caption of a window to another window. |
|
The parent window of a tab control calls the SftTabs_DeactivatePage function to signal that the current page is no longer the active page. |
|
Deletes a tab from the tab control. |
|
The parent window of a tab control calls SftTabs_Destroy when the parent window is about to be destroyed. |
|
Draws a selection outline. |
|
Deletes a GDI+ image obtained using SftTabs_LoadGDIPlusImageFromResource. |
|
Enables all tabs to become inactive. |
|
Retrieves tab control attributes. |
|
Retrieves the number of tabs in a tab control. |
|
Returns the tab control's color attributes. |
|
Retrieves the index of the currently active tab. |
|
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. |
|
Returns whether GDI+ support is available. |
|
Retrieves the index of the next tab about to become active. |
|
Returns a pointer to the style table. The style table describes all available tab styles, suitable for use by a resource editor. |
|
Returns the tab control window handle, given the window handle of a window attached to a tab. |
|
Retrieves tab attributes. |
|
Retrieves a tab's text. |
|
Retrieves the length of a tab's text. |
|
Retrieves a tab's ToolTip text. |
|
Retrieves the length of a tab's ToolTip text. |
|
Retrieves the count of visible tabs. |
|
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. |
|
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. |
|
Determines the tab index of the tab at a given location. |
|
Inserts a new tab at the specified position. |
|
Returns whether high resolution support is enabled. |
|
Determines whether a given 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. |
|
Determines whether a given window is registered with SftTabs/DLL for special tabbed dialog or tabbed window handling, such as accelerator key handling, ESCAPE and TAB key processing, etc. |
|
Determines whether a given window is a tab control. |
|
Determines whether a given window is a tab control with an attached page. |
|
Determines whether a given window is a tab control with an attached page. |
|
Loads a GDI+ image from an application's or DLL's resources. |
|
Paints a bitmap. |
|
Paints a bitmap, tiling it if necessary. |
|
Tests if a tab control responds to the specified character, i.e. the character is an accelerator key which the tab control processes. |
|
Registers the application for use of SftTabs/DLL controls. |
|
Registers a dialog containing a tab control. |
|
Registers a window containing a tab control. |
|
Removes all tabs from a tab control. |
|
Resizes attached pages when using a frame window. |
|
Scrolls tabs in the direction specified. |
|
Enables all tabs to become inactive. |
|
Sets tab control attributes. |
|
Sets the tab control's color attributes. |
|
Makes the specified tab the new active tab. |
|
Makes the specified tab the new active tab. |
|
Defines a drawing callback routine used to paint tab labels. |
|
Notifies a tab control that the page attached to the currently active tab has been activated. |
|
Notifies a tab control that the page attached to the currently active tab has been deactivated. |
|
Sets the tab attributes for the specified tab. |
|
Sets a tab's text. |
|
Sets a tab's ToolTip text. |
|
Sets the SftTabs/DLL version an application requires. |
|
Switches to the next/previous tab. |
|
The dialogs used as pages of a tab control call SftTabs_TransparentControls to pass messages on to SftTabs/DLL so they can be processed. |
|
Unregisters the application. |
|
Unregisters a dialog which has been previously registered using SftTabs_RegisterDialog or SftTabs_RegisterWindow. |
|
Unregisters a window which has been previously registered using SftTabs_RegisterDialog or SftTabs_RegisterWindow. |
See Also C++ Classes | Notifications