CTreeCtrl::SetIndent

void SetIndent( UINT nIndent );

Parameters

nIndent

Width, in pixels, of the indentation. If nIndent is less than the system-defined minimum width, the new width is set to the system-defined minimum.

Remarks

Call this function to set the width of indentation for a tree view control and redraw the control to reflect the new width.

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::GetIndent, CTreeCtrl::GetItemRect