SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the type of a user-supplied callback routine, called by SftTree/DLL to allow an application to sort items using SortDependents.
typedef int (CALLBACK* SFTTREE_SORTPROCEX)( HWND hwnd, LPCTSTR lpszString1, LPCTSTR lpszString2, SFTTREE_DWORD_PTR userData1, SFTTREE_DWORD_PTR userData2);
hwnd
The window handle of the tree control.
lpszString1
The string component of the first item to sort. This parameter may be NULL if no string component is available (see AddString and InsertString).
lpszString2
The string component of the second item to sort. This parameter may be NULL if no string component is available (see AddString and InsertString).
userData1
The application-specific value (see SetItemData) of the first item to sort.
userData2
The application-specific value (see SetItemData) of the second item to sort.
The return value is 0 if the two items compare as being equal, 1 if the first item is greater than the second item, -1 if the first item is smaller than the second item.
SFTTREE_SORTPROCEX defines the type of a user-supplied callback routine, called by SftTree/DLL to allow an application to sort items using SortDependents.
An application can sort items based on their column contents (lpszString1 and lpszString2) or based on item data values (userData1 and userData2). A comparison callback is defined using the SFTTREE_SORTPROCEX type. The callback returns 0 if the items compare as being equal, 1 if the first item is greater than the second item, -1 if the first item is smaller than the second item.
See Also C/C++ API | Categories | Notifications