Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

RowColHeaderRect

Returns the dimensions of the row/column header area.

C

void WINAPI SftTree_GetRowColHeaderRect(HWND hwndCtl, LPRECT lpRect);
void WINAPI SftTreeSplit_GetRowColHeaderRect(HWND hwndCtl, LPRECT lpRect);

C++

void CSftTree::GetRowColHeaderRect(LPRECT lpRect) const;
void CSftTreeSplit::GetRowColHeaderRect(LPRECT lpRect) const;

Parameters

hwndCtl

The window handle of the tree control.

lpRect

Address of a RECT structure, where the coordinates will be returned.

Returns

The returned RECT structure describes the location of the row/column header area.

Comments

The GetRowColHeaderRect function returns the dimensions of the row/column header area.

An empty rectangle is returned if the row/column header is not shown.

The row/column header area is only shown if row headers and column headers are both shown (see SetShowRowHeader and SetShowHeader).

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