HeaderPane
Main
New productDLL · C · C++

SftButton/DLL 3.0

Button control

The standard Windows button does one thing, one way. SftButton/DLL 3.0 does it your way — gradients, multi-state images, dropdown arrows, and rich text, fully themed and accessible. Royalty-free for C and C++ developers.

  • Windows 10 and above
  • 32-bit, 64-bit and ARM64
  • Royalty-free
  • 1 year of support included

The push button, reimagined. Every pixel under your control.

The standard Windows button does one thing, one way. That's fine, until your application needs a button that carries an icon and a label, fills with a gradient on hover, drops down a menu, matches your brand, and still reads perfectly for a screen reader. SftButton/DLL is that button.

It fully replaces the standard push button, check box and dropdown button, with none of the limits and all of the polish, from a plain text-only button to a fully themed, gradient-filled control with multi-state images and an attached dropdown arrow.

Push buttons Check boxes Dropdown buttons Gradient fills Multi-state images Multi-line text Dropdown arrows Themes

[ ]

Made to match your design

Choose from three border styles and fill the background with a solid color or a gradient, defined independently for the normal, focus and hover states.

  • Two overlaid image layers plus independent background pictures
  • Separate artwork for normal, hover, pressed and disabled
  • Bitmaps, icons, image lists and GDI+ graphics through SFT_PICTURE

Aa

Text as expressive as the artwork

The SFT_TEXT model drives rich single- or multi-line labels with per-state colors for normal, pressed and disabled.

  • Selectable horizontal alignment and vertical positioning
  • Full themes support, or themes without text
  • Native or branded, whichever you need

↓

Behavior that fits the job

Push-button, toggle (check box) and dropdown-button behavior from one control. The optional dropdown arrow comes in four styles and fires its own click and double-click notifications.

  • Right-click, middle-click and double-click notifications
  • Bounce press animation with per-control override
  • Focus-ring control and default-button styling

+

Precise hit-testing and layout

Decide what's clickable: the entire control, the exact image-plus-text bounds, images only, or text only. Hover detection works at the control level or pixel-exact.

  • Anchor-based auto-sizing to nine window positions
  • Corners, edges or center
  • Layouts that hold together as windows resize

A modern Windows citizen

Built for how Windows looks and works today.

Version 3.0 follows the system's choices, so your buttons do too.

Automatic dark mode

Tracks the "Choose your mode" setting for seamless dark mode.

High Contrast

Supports Windows High Contrast themes for accessibility.

Per-Monitor v2 DPI

Scales images and pixel dimensions so buttons stay crisp on every display.

Screen readers

A built-in UI Automation provider works with Narrator, NVDA and JAWS out of the box.

SftButton/DLL Wizard

Design it before you write a line of code.

Set the text, colors, borders, dropdown arrow, images and more, watch the result take shape, and once it looks exactly right, let the Wizard generate the run-time code for C or C++ with MFC.

Requirements and distribution

Languages

  • C and C++ (MFC) with Visual Studio
  • Any language through SendMessage and the supplied header
  • MFC classes with source code included

Platforms

  • Windows 10 and above
  • 32-bit and 64-bit applications on Intel
  • ARM64 applications on Windows 11 and above
  • UNICODE on every platform

In the box

  • SftButton/DLL Wizard with code generation
  • Samples for C and C++/MFC
  • Offline API reference for AI assistants, plus AGENTS.md

Distribution

  • Royalty-free in run-time mode
  • Ship the DLL with your application
  • Each developer licenses their own copy

Find a License that Fits Your Needs

Licenses

Find a license that fits

Every license includes a full year of support subscription: free product support, new major and minor releases, hotfixes and updates.

Read the license agreement
Single Developer License
$149one developer

For one developer, on any number of their own computers.

25 DevelopersSave 46%
$2,000one license number

One license number covering 25 developers on your team.

Prices in US dollars. 30-day money-back guarantee. Need the source code? Ask sales about an Enterprise License.

Save with the bundle

DLL Control Bundle · from $ 699.00

SftButton/DLL 3.0, SftMask/DLL 7.0, SftTabs/DLL 7.0 and SftTree/DLL 8.0 in one hugely discounted bundle.

View the bundle