Поделиться через


CTreeCtrl::SetIndent

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

void SetIndent(
   UINT nIndent 
);

Параметры

  • 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.

Пример

See the example for CTreeCtrl::GetIndent.

Требования

Header: afxcmn.h

См. также

Основные понятия

CTreeCtrl Class

CTreeCtrl Members

Hierarchy Chart

CTreeCtrl::GetIndent

CTreeCtrl::GetItemRect