Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

SplitterWidth

Defines the width of the splitter bar in a split tree control.

C

int WINAPI SftTreeSplit_GetSplitterWidth(HWND hwndCtl);
BOOL WINAPI SftTreeSplit_SetSplitterWidth(HWND hwndCtl, int splitWidth);

C++

int CSftTreeSplit::GetSplitterWidth() const;
BOOL CSftTreeSplit::SetSplitterWidth(int splitWidth);

Parameters

hwndCtl

The window handle of the tree control.

splitWidth

The new width (in pixels) of the splitter bar. Allowable values are between 3 and 7 (including).

Returns

GetSplitterWidth returns the current width (in pixels) of the splitter bar.

SetSplitterWidth returns TRUE if the function was successful, otherwise FALSE is returned.

Comments

The GetSplitterWidth and SetSplitterWidth functions define the width of the splitter bar in a split tree control.

GetSplitterWidth and SetSplitterWidth are only available for a split tree control.

See Also C/C++ API | Categories | Notifications