Graphisoft®

Dialog ManagerVersion: 2.0

TreeView::EnableDraw

Enables screen update of a tree view.

void EnableDraw (void);

Description

Use this method after inserting, deleting or modifying more tree view items. It is advised to disable screen updates for as short period as possible, i.e. place DisableDraw right before the first tree view modification and call EnableDraw right after the last tree view modification. These two functions must always be used in pairs. EnableDraw itself does not update the tree view. You should either call Invalidate or Redraw. If only a few items are changed call RedrawItem for those items.