SftButton/DLL includes sample code for C and C++/MFC.
The samples listed in the following table can be found in the folder "\Program Files (x86)\Softelvdm\SftButton DLL 3.0\Samples". These samples are also referenced throughout the documentation.
| C Sample | Description |
|---|---|
| Simple Sample | Illustrates basic button creation in a dialog, including theme and dark-mode configuration and click-notification handling. |
| C++/MFC Sample | Description |
|---|---|
| Simple Sample | Illustrates dialog-based button hosting through CSftButton and DDX_Control, GDI+ image loading and lifecycle, drop-down click handling, and runtime dark-mode and theme toggles. |