# SftButton/DLL 3.0 — Guide > SftButton/DLL is a DLL-based button control for the Windows™ operating system, offering a fully customizable replacement for the standard Windows push button, check box and dropdown button. Index of the SftButton/DLL 3.0 guide, which is split into 2 files in reading order. Each entry links one file and lists its topics; read only the files you need. Online documentation: https://softelvdm.com/Documentation/SftButton%20DLL%203%200 API reference (index of the reference files): https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-DLL-3.0-reference.txt ## Introduction, Features https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-DLL-3.0-guide-1.txt - SftButton/DLL - Button Control: SftButton/DLL is a DLL-based button control for the Windows™ operating system, offering a fully customizable replacement for the standard Windows push button, check box and dropdown button. - Installing SftButton/DLL: When you are ready to install SftButton/DLL: - Components: A SftButton control is composed of a fixed set of rendering layers drawn in a predictable order. - Button States: A SftButton control is always in one of four rendering states. - Button Images: SftButton supports three independent image layers, each with its own per-state pictures. - Text and Fonts: Button text is rendered from a single SFT_TEXT field on SFTBUTTON_CONTROL - Text. - Colors and Gradients: SftButton supports solid and two-color gradient backgrounds for every rendering state. - Borders: The button's border is selected through the nBorderStyle field on SFTBUTTON_CONTROL. - Dropdown Button: A SftButton can display an attached dropdown arrow on its right edge. - Toggle (Check Box) Behavior: A SftButton with fToggle set to TRUE acts as a two-state button: each click flips the button between pressed and not-pressed, rather than returning to normal when the mouse button is released. - Auto-Sizing: SftButton can automatically resize itself to fit its text and images, re-anchoring to one of nine reference points on its current rectangle. - Click Regions: SftButton supports four click-region modes through iClickStyle on SFTBUTTON_CONTROL. - Hover Detection: A SftButton tracks hover state separately from mouse-over. - Press Animation: The "bounce" animation is a short visual offset applied when the user presses the button - the button content shifts a few pixels down and to the right, giving a tactile feedback cue. - Bitmap Transparency: SftButton/DLL automatically uses bitmap transparency for all bitmaps used in a button control. - GDI+: The button control uses GDI+ for additional image features not otherwise available: - Using Themes: Windows themes can be selected by the user using the Settings app or the Control Panel. - Dark Mode: SftButton/DLL 3.0 supports dark mode. - High Contrast: Windows High Contrast is an accessibility setting, not a visual preference. - Accessibility (Screen Readers): SftButton/DLL 3.0 ships with built-in Windows UI Automation (UIA) support. - Per-Monitor DPI and Scaling: SftButton/DLL 3.0 is fully Per-Monitor v2 DPI-aware. ## Programming, Demo Application https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-DLL-3.0-guide-2.txt - Building Applications: This section describes how to prepare an application using the C or C++ programming language to successfully use SftButton/DLL. - Creating a Dialog Resource: This section describes how to add a button control to a dialog using Visual Studio. - Using C: This section describes how to use SftButton/DLL in an application written using the C programming language. - Using C++/MFC: This section describes how to use SftButton/DLL in an application written using C++ and the Microsoft Foundation Class library (MFC). - MFC and Notifications: Notifications can be handled by a button control's parent window or directly by the button control itself (in a derived class). - Demo Application: During the installation of SftButton/DLL, an icon for the demo application "Demo" is installed in the program group SftButton DLL 3.0. - Samples: SftButton/DLL includes sample code for C and C++/MFC. - Simple Sample (C): This sample illustrates basic SftButton creation in a dialog. - Simple Sample (C++/MFC): This sample illustrates SftButton creation and configuration from a C++/MFC application. - SftButton/DLL Wizard: During the installation of SftButton/DLL, an icon for the application "Wizard" is installed in the program group SftButton DLL 3.0. - SftButton/DLL Wizard Help: The SftButton/DLL Wizard is used to define a new button control look or to edit an existing look. - SftButton/DLL Wizard - Design Pages: The SftButton/DLL Wizard uses four design tab pages - Style, Colors, Class Info and Events - to define the look and behavior of a button control. - C, C++/MFC - Generated Source Code: The source code generated using the C or C++/MFC tabs can be used to implement a button control in an application. - Distributing the Dlls: Distributing the DLLs included with SftButton DLL 3.0 is only possible in accordance with the licensing agreement. - Technical Support: New major versions and product maintenance are available with an active support subscription.