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 vertical alignment of tree lines, label pictures, plus/minus bitmap and item pictures.
C
DWORD WINAPI SftTree_GetVAlign(HWND hwndCtl); void WINAPI SftTree_SetVAlign(HWND hwndCtl, DWORD style); DWORD WINAPI SftTreeSplit_GetVAlign(HWND hwndCtl); void WINAPI SftTreeSplit_SetVAlign(HWND hwndCtl, DWORD style);
C++
DWORD CSftTree::GetVAlign() const; void CSftTree::SetVAlign(DWORD style); DWORD CSftTreeSplit::GetVAlign() const; void CSftTreeSplit::SetVAlign(DWORD style);
hwndCtl
The window handle of the tree control.
style
A value describing the desired vertical alignment.
SFTTREE_VCENTER | The tree lines, label pictures, plus/minus bitmap and item pictures are vertically centered within the item. |
SFTTREE_TOP | The tree lines, label pictures, plus/minus bitmap and item pictures are aligned with the top of the item. |
SFTTREE_BOTTOM | The tree lines, label pictures, plus/minus bitmap and item pictures are aligned with the bottom of the item. |
GetVAlign returns the current vertical alignment of tree lines, label pictures, plus/minus bitmap and item pictures.
The GetVAlign and SetVAlign functions define the vertical alignment of tree lines, label pictures, plus/minus bitmap and item pictures.
Columns and cells can further define the vertical alignment of cell contents (see SFTTREE_COLUMN_EX, style member and SFTTREE_CELL, flag member).
Vertical alignment is usually only used if SetItemLines is used to define more than one line of text.
See Also C/C++ API | Categories | Notifications