HeaderPane
Main
Hide
Share Link
Print

Samples

SftBox/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\SftBox DLL 6.0\Samples". Each sample is installed in its own subdirectory, with a Visual Studio solution and project. These samples are also referenced throughout the documentation.

C

C SampleDescription
Colors SampleColor selection with a color sample as cell picture for each item, a multi-column dropdown portion with column headers and a sizing box, and a color dialog opened by the first item.
DataInput SampleMulti-column dropdown combo boxes for data entry with autocompletion, a selectable edit and search column, sorting by clicking a column header and a list of recently entered text.
ItemImages SampleA hierarchy with item pictures, tree lines and expand/collapse buttons that expand and collapse the items, and a combo box with a picture for each item and a picture on the dropdown button.
DragDrop SampleDrag & drop between two simple combo boxes - items are moved, text selected in the edit control portion is copied.
Fonts SampleFont name, font style and font size selection for the display or a printer, with each font name shown in its own font and sorting using the column headers above the static portion and the edit control portion.

C++/MFC

C++/MFC SampleDescription
Colors SampleColor selection with a color sample as cell picture for each item, hosted through CSftBox and DDX_Control, with notifications handled through ON_CONTROL.
DataInput SampleMulti-column dropdown combo boxes for data entry with autocompletion, a selectable edit and search column, sorting by clicking a column header and a list of recently entered text.
ItemImages SampleA hierarchy with item pictures, tree lines and expand/collapse buttons that expand and collapse the items, and a combo box with a picture for each item and a picture on the dropdown button.
DragDrop SampleDrag & drop between two simple combo boxes - items are moved, text selected in the edit control portion is copied.
Fonts SampleFont name, font style and font size selection for the display or a printer, with each font name shown in its own font and sorting using the column headers above the static portion and the edit control portion, including SFTBOXN_MAIN_NOTIFICATION handling through ON_CONTROL.

Last Updated 11/21/2026 - (email)
© 2026 Softel vdm, Inc.