Freigeben über


CTreeCtrl::GetIndent

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

UINT GetIndent( ) const;

Return Value

The amount of indentation measured in pixels.

Example

// Double the indent.
UINT uIndent = m_TreeCtrl.GetIndent();
m_TreeCtrl.SetIndent(2 * uIndent);

Requirements

Header: afxcmn.h

See Also

Concepts

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::SetIndent