CTreeCtrl::GetIndent

UINT GetIndent( );

Return Value

The amount of indentation measured in pixels.

Remarks

Call this function to retrieve the amount, in pixels, that child items are indented relative to their parent items.

Example

// The pointer to my tree control.
extern CTreeCtrl* pmyTreeCtrl;

// Double the indent.
UINT uIndent = pmyTreeCtrl->GetIndent();
pmyTreeCtrl->SetIndent(2*uIndent);

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::SetIndent