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
The SFTTREE_CLASS preprocessor symbol defines the window class name of a tree control without splitter bar.
#define SFTTREE_CLASS "SftTreeControl75"
The SFTTREE_CLASS preprocessor symbol defines the window class name of a tree control without splitter bar.
SFTTREESPLIT_CLASS is the window class name of a tree control with a splitter bar.
The actual class name (SftTreeControl75) usually changes between SftTree/DLL releases.
When defining a tree control using the window class SFTTREE_CLASS, the functions SftTree_xxx or the C++ class CSftTree must be used.
This preprocessor symbol is normally used when creating a control window dynamically using CreateWindow(Ex). When designing a dialog resource (see "Creating a Dialog Resource"), the window class name must be entered as-is and the preprocessor symbol cannot be used.
{ switch (msg) { case WM_CREATE: { SFT_PICTURE Pic; /* A picture */ g_hwndTree = CreateWindowEx( WS_EX_CLIENTEDGE, TEXT(SFTTREE_CLASS), /* Window class */ TEXT(""), /* Caption (none) */ SFTTREESTYLE_NOTIFY | /* Notify parent window */ SFTTREESTYLE_VARIABLE | /* Variable height items */ SFTTREESTYLE_LEFTBUTTONONLY | /* Only respond to left mouse button */ SFTTREESTYLE_SCROLL | /* Honor WS_H/VSCROLL */ WS_HSCROLL | WS_VSCROLL | /* Vertical and horizontal scrollbars */ WS_VISIBLE | WS_CHILD, /* Visible, child window */
See Also C/C++ API | Categories | Notifications