Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

SplitterRect

Returns the location of the splitter bar in client area coordinates.

C

void WINAPI SftTreeSplit_GetSplitterRect(HWND hwndCtl, LPRECT lpRect);

C++

void CSftTreeSplit::GetSplitterRect(LPRECT lpRect) const;

Parameters

hwndCtl

The window handle of the tree control.

lpRect

A pointer to a RECT structure where the location of the splitter bar is returned (in pixels).

Comments

The GetSplitterRect function returns the location of the splitter bar in client area coordinates.

GetSplitterRect is only available for a split tree control.

The RECT structure lpRect describes the location of the splitter bar.

SetSplitterOffset can be used to change the location of the splitter bar. SetSplitterWidth is used to change the width of the splitter bar.

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