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 offset of the splitter bar relative to the left edge of the tree control's client area.
C
void WINAPI SftTreeSplit_SetSplitterOffset(HWND hwndCtl, int offset);
C++
void CSftTreeSplit::SetSplitterOffset(int offset);
hwndCtl
The window handle of the tree control.
offset
A value defining the offset of the splitter bar relative to the left edge of the tree control's client area (in pixels). If -1 is specified, the splitter bar is centered in the tree control's client area making each pane the same size. If the offset falls outside of the client area, the splitter bar is aligned with the left or right edge, whichever is closer to the offset specified.
The GetSplitterOffset and SetSplitterOffset functions define the offset of the splitter bar relative to the left edge of the tree control's client area.
SetSplitterOffset is only available for a split tree control.
MakeSplitterOptimal can be used to position the splitter bar optimally, so the left pane can display as much data as possible without a horizontal scroll bar.
The coordinates of the splitter bar can be retrieved using GetSplitterRect.
SetSplitterWidth is used to change the width of the splitter bar.
See Also C/C++ API | Categories | Notifications