Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

RowHeaderWidth

Defines the width of the row header area.

C

int WINAPI SftTree_GetRowHeaderWidth(HWND hwndCtl);
void WINAPI SftTree_SetRowHeaderWidth(HWND hwndCtl, int width);
int WINAPI SftTreeSplit_GetRowHeaderWidth(HWND hwndCtl);
void WINAPI SftTreeSplit_SetRowHeaderWidth(HWND hwndCtl, int width);

C++

int CSftTree::GetRowHeaderWidth() const;
void CSftTree::SetRowHeaderWidth(int width);
int CSftTreeSplit::GetRowHeaderWidth() const;
void CSftTreeSplit::SetRowHeaderWidth(int width);

Parameters

hwndCtl

The window handle of the tree control.

width

The new row header area width in pixels.

Returns

GetRowHeaderWidth returns the current width (in pixels) of the row header area.

Comments

The GetRowHeaderWidth and SetRowHeaderWidth functions define the width of the row header area.

CalcOptimalRowHeaderWidth or MakeRowHeaderOptimal can be used to calculate or define the optimal width for the row (and row/column) header area. An optimal width allows all text and bitmaps in the row headers to be displayed in their entirety, without being clipped.

Row headers are made visible using SetShowRowHeader.

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