Direct calls to the SftBox DLLs are used to communicate with the combo box control for maximum efficiency.
The class CSftBox defines all necessary functions to communicate with the combo box control.
The following function groups are listed in detail:
| Accessibility | Dark mode and High Contrast |
| Application | Application initialization and termination |
| Attributes | General combo box control attributes |
| Callback Routines | Application-defined callback routines |
| Columns and Column Headers | Column and column header attributes |
| DPI and Scaling | Per-Monitor DPI awareness and image / pixel scaling |
| Drag & Drop | Drag & drop support functions |
| Dropdown Button | Dropdown button attributes |
| Dropdown Portion | Dropdown portion attributes and manipulation |
| Edit Control Portion | Edit control portion attributes and manipulation |
| Font Selection | Font name, style and size combo boxes |
| Item Attributes | Item and cell attributes |
| Item Hit Testing | Hit testing |
| Items | Item manipulation |
| Positioning & Resizing | Item positioning and resizing |
| Relationships | Retrieving parent/child relationship information |
| Row Header | Row header attributes |
| Row/Column Header | Row/column header attributes |
| Scrolling | Scrolling manipulation |
| Selection | The currently selected item |
| Sorting | Sorting items |
| Virtual Mode | Using a virtual data source |
| DarkMode | Defines whether the combo box control is rendered using a dark color palette. |
| HighContrastMode | Defines whether the combo box control honors the Windows High Contrast accessibility setting. |
| FreeGDIPlusImageLoadedFromFile | Deletes a GDI+ image obtained using LoadGDIPlusImageFromFile. |
| FreeGDIPlusImageLoadedFromResource | Deletes a GDI+ image obtained using LoadGDIPlusImageFromResource. |
| GDIPlusAvailable | Returns whether GDI+ support is available. |
| LoadGDIPlusImageFromFile | Loads a GDI+ image from a file. |
| LoadGDIPlusImageFromResource | Loads a GDI+ image from an application's or DLL's resources. |
| RegisterApp | Registers an application with SftBox/DLL. |
| UnregisterApp | Unregisters an application from SftBox/DLL. |
| Buttons | Registers the size and sets the images used for expand/collapse buttons. |
| ControlInfo | Defines the combo box control's attributes. |
| Create | Creates a combo box control window and attaches it to the CSftBox object. |
| CSftBox Constructor / Destructor | Standard constructor and destructor. |
| CtlColors | Defines the combo box control's color attributes. |
| CustomCode | Defines optional product customization. |
| FlybyHighlight | Defines whether the item under the mouse cursor is highlighted in the dropdown portion. |
| GridStyle | Defines the grid line display style. |
| Indentation | Defines the indentation (in pixels) for item levels. |
| InheritBgColor | Defines whether the area to the left of the first cell inherits the cell's background color. |
| ItemLines | Defines the number of text lines used for item height calculation. |
| ItemsShown | Returns the number of items displayable in the dropdown portion, including partial items. |
| Locale | Defines the locale of the combo box control. |
| NoFocusStyle | Defines the display style of the selected item when the combo box control does not have the input focus. |
| Pictures | Registers the size and sets the default item pictures used for all items. |
| ProcessMessage | Defines whether a mouse click that hides the dropdown portion is also processed by the window under the mouse cursor. |
| ScrollTips | Defines whether ScrollTips are displayed during vertical scrolling. |
| Show3D | Defines the current display method used for items. |
| ShowBitmaps | Returns a value indicating the presence of item pictures. |
| ShowButton0 | Defines the presence of level 0 expand/collapse buttons. |
| ShowButtons | Defines the presence of expand/collapse buttons (other than level 0). |
| ShowGrid | Defines the presence of grid lines. |
| ShowLabels | Returns the presence of label pictures. |
| ShowTreeLines | Defines the presence of tree lines. |
| ShowTruncated | Defines whether text is clipped or truncated using trailing "...". |
| TreeLineStyle | Defines the display style of tree lines. |
| UpdateCaretExpandCollapse | Defines whether the current item is updated when the expand/collapse buttons are used. |
| UserData | Defines the combo box control's application-specific value. |
| UseSmoothScroll | Defines whether smooth scrolling is used. |
| UseThemes | Defines whether the control can use Windows themes. |
| VAlign | Defines the vertical alignment of tree lines, label pictures and item pictures. |
| DeleteCallback | Defines a deletion callback routine, called when items are deleted. |
| ToolTipsCallback | Defines an application supplied callback function, which can define the ToolTip text when a ToolTip or ScrollTip is to be displayed. |
| ColHeaderFont | Defines the font used for column header text display. |
| Columns | Defines the number of columns and column attributes. |
| CrossColumnResize | Defines whether multiple columns can be resized during one column resizing operation. |
| DisplayColumn | Returns the display column number given a real column number. |
| FirstDisplayColumn | Returns the index of the first displayed column. |
| Header | Defines a column's header text. |
| HeaderButton | Defines the column number of the currently pressed column header button. |
| HeaderLength | Returns the length of a column's header text. |
| HeaderRect | Returns the dimensions of the column header area. |
| HeaderStyle | Defines the column header display style. |
| OpenEnded | Defines whether the last column is open-ended. |
| OverheadWidth | Returns the width of the area added to the first column for hierarchical graphics components. |
| RealColumn | Returns the real column number given a display column number. |
| ReorderColumns | Defines whether columns can be reordered using column drag & drop. |
| ResizeColumn | Returns the column number of the column being resized. |
| ResizeHeader | Defines whether column headers are resizable by the user. |
| ShowHeader | Defines the presence and display style of column headers. |
| ShowHeaderMain | Defines the presence of column headers in the static portion. |
| DPI | Returns the effective DPI for the monitor the combo box control is currently displayed on. |
| ImageScaling | Defines how images drawn by the combo box control are scaled relative to the current monitor DPI. |
| PixelScaling | Defines how caller-supplied pixel dimensions (column widths, indentation, etc.) are interpreted relative to the current monitor DPI. |
| DragInfo | Returns drag & drop operation information in a SFTBOX_DRAGINFO structure. |
| DragType | Defines the portions of the combo box control where a drag & drop operation can start. |
| DropHighlight | Defines the current drag & drop target location. |
| DropHighlightStyle | Defines the display attribute of the current drag & drop target item. |
| DropDownButtonDroppedPicture | Defines the picture displayed on the dropdown button while the dropdown portion is shown. |
| DropDownButtonPicture | Defines the picture displayed on the dropdown button. |
| DropDownButtonRect | Returns the location of the dropdown button. |
| DropDownButtonStyle | Defines the dropdown button's display style. |
| HoverButton | Defines whether the dropdown button changes its appearance when the mouse cursor is located on the button. |
| HWNDDropDownButton | Returns the window handle of the dropdown button. |
| DropDownOptimalWidth | Defines whether the dropdown portion is sized to its optimal width. |
| DropDownPosition | Defines whether the dropdown portion is shown below or above the combo box. |
| DroppedControlRect | Returns the location of the dropdown portion. |
| DroppedHeight | Defines the height of the dropdown portion. |
| DroppedState | Returns whether the dropdown portion is currently shown. |
| DroppedWidth | Defines the width of the dropdown portion. |
| ExtendedUI | Defines whether the extended user interface is used. |
| HWNDDropDown | Returns the window handle of the dropdown portion. |
| RollUpDelayed | Hides the dropdown portion after the specified time. |
| RollupOnChange | Defines whether the dropdown portion is hidden when items are added or removed. |
| ShowDropDown | Shows or hides the dropdown portion. |
| ShowHeaderDropDown | Defines the presence of column headers in the dropdown portion. |
| ShowResizer | Defines whether the dropdown portion can be resized by the user. |
| SizeBox | Defines whether a size box is shown in the lower-right corner of the dropdown portion so the user can resize the dropdown portion by dragging it. |
| Clear | Deletes the selected text in the edit control portion, or removes the selection of a dropdown list combo box. |
| Copy | Copies text to the clipboard. |
| Cut | Copies text to the clipboard and removes it from the combo box control. |
| EditAlign | Defines the text alignment in the edit control portion. |
| EditCtlFont | Defines the font used in the edit control portion. |
| EditSearchColumn | Defines the column used for searching and for the text shown in the edit control portion. |
| EditSearchMode | Defines how the combo box control searches for a matching item as the user types. |
| EditSel | Defines the selected text range in the edit control portion. |
| HWNDEdit | Returns the window handle of the edit control portion. |
| LimitText | Limits the number of characters the user can enter in the edit control portion. |
| Paste | Inserts the clipboard contents in the edit control portion. |
| ReadOnly | Defines whether the edit control portion is read-only. |
| SelText | Defines the selected text in the edit control portion. |
| SelTextLength | Returns the length of the selected text in the edit control portion. |
| Fonts | Adds the names of the available fonts to the combo box control. |
| FontSizes | Adds the available sizes of a font to the combo box control. |
| FontStyles | Adds the available styles of a font to the combo box control. |
| CellInfo | Defines a cell's attributes. |
| ExpandCollapseIndex | Returns the zero-based index of the item to expand/collapse. |
| ItemBitmap | Defines an item's item picture using a bitmap handle. |
| ItemData | Defines an item's application-specific value. |
| ItemExpand | Defines an item's expand status. |
| ItemExpandable | Defines whether an item is expandable. |
| ItemHeight | Returns an item's height (in pixels). |
| ItemHeightMinMax | Defines an item's minimum and maximum height (in pixels). |
| ItemID | Returns an item's ID. |
| ItemIndex | Returns an item's index given an item ID. |
| ItemLabel | Defines an item's label picture using a bitmap handle. |
| ItemLabelPicture | Defines an item's label picture. |
| ItemLevel | Defines an item's level number. |
| ItemPicture | Defines an item's item picture. |
| ItemRect | Returns an item's location in client area coordinates. |
| ItemShown | Defines an item's visibility status. |
| ItemStatus | Defines an item's enabled/disabled status. |
| Text | Defines an item's cell text. |
| TextLength | Returns the length of an item's cell text. |
| CalcCellFromPoint | Calculates the item index and column number given a point in combo box control client area coordinates. |
| CalcIndexFromPoint | Calculates the item index number given a point in combo box control client area coordinates. |
| CellRect | Returns a cell's location. |
| AddString | Adds a new item to a combo box control. The new item is added as the last item at level 0. |
| Collapse | Collapses a parent item. |
| CopyItem | Copies an item to a new position. |
| Count | Returns the number of items in the combo box control. |
| DeleteDependents | Deletes an item's dependent items. |
| DeleteString | Deletes an item. |
| Expand | Expands a parent item. |
| FindItem | Searches item data. |
| FindString | Searches a string. |
| FindStringEx | Searches cells for a string. |
| FindStringExact | Searches a string (exact match). |
| InsertString | Inserts a new item using a string. |
| MoveItem | Moves an item to a new position. |
| ResetContent | Removes all items from the combo box control. |
| CalcOptimalColumnWidth | Calculates a column's optimal width so text and pictures are not clipped. |
| CalcOptimalRowHeaderWidth | Calculates the optimal width for row headers so text and pictures are not clipped. |
| MakeColumnOptimal | Sets the optimal column width so that the text and pictures of all items can be displayed without being clipped horizontally. |
| MakeColumnVisible | Scrolls the specified column into view horizontally so that it is displayed in the combo box control. |
| MakeRowHeaderOptimal | Sets the optimal row header width so that the text and pictures of all row headers can be displayed. |
| MakeRowVisible | Scrolls the specified item into view vertically so that it is displayed in the dropdown portion. |
| TopIndex | Defines the index number of the item shown at the top of the dropdown portion. |
| Dependent | Returns dependent item information for a parent item. |
| DependentCount | Returns the number of dependents for a parent item. |
| NextShown | Returns the next visible item. |
| Parent | Returns an item's parent index. |
| PrevShown | Returns the previous visible item. |
| Sibling | Returns an item's sibling information. |
| TopParent | Returns the highest level parent index number for an item. |
| RowHeaderFont | Defines the font used for row header text display. |
| RowHeaderLines | Defines the number of text lines used for row header height calculation. |
| RowHeaderRect | Returns the dimensions of the row header area. |
| RowHeaderStyle | Defines the position of text displayed in the row headers. |
| RowHeaderWidth | Defines the width of the row header area. |
| RowInfo | Defines an item's row header attributes. |
| RowText | Defines an item's row header text. |
| RowTextLength | Returns an item's row header text length. |
| ShowRowHeader | Defines the row header display style. |
| RowColBitmap | Defines the picture displayed in the row/column header. |
| RowColBitmapStyle | Defines the position of the picture displayed in the row/column header. |
| RowColHeaderButton | Defines whether the row/column header button is currently down (pressed). |
| RowColHeaderRect | Returns the dimensions of the row/column header area. |
| RowColHeaderStyle | Defines the position of the text displayed in the row/column header. |
| RowColPicture | Defines the picture displayed in the row/column header. |
| RowColText | Defines the row/column header text. |
| RowColTextLength | Returns the row/column header text length. |
| ShowRowColHeaderButton | Defines the row/column header's display style. |
| DisableNoScroll | Defines the scroll bar handling status. |
| HorizontalExtent | Defines the horizontal extent (in pixels) of the displayable area. |
| HorizontalOffset | Defines the current horizontal offset (in pixels) of the displayed area. |
| RecalcHorizontalExtent | Recalculates the optimal horizontal scrolling extent. |
| CaretColumn | Returns the column where a mouse button was last clicked. |
| CurSel | Defines the index of the selected item. |
| DrawSelectionOutline | Draws a selection outline. |
| SelectionStyle | Defines the display style of the selected item. |
| SelectString | Searches a string and selects the matching item. |
| SelectStringExact | Searches a string and selects the exactly matching item. |
| EnableSortIndicators | Enables sort indicators in column headers. |
| SortItems | Sorts items. |
| SortItemsEx | Sorts items using cell and item information. |
| VirtualCount | Defines the number of items when using a virtual data source. |
| VirtualFlush | Discards cached item information of a combo box control using a virtual data source. |
| VirtualInitialize | Initializes a combo box control for virtual mode and for use with a virtual data source. |
| VirtualItemChanged | Notifies a combo box control using a virtual data source that items have been changed. |