SEC_LISTCLASS::EnableRedrawAfterInsert

voidSEC_LISTCLASS::EnableRedrawAfterInsert(BOOLbEnable)

Enables/disables redraw after insert.

Defined in: slstcore.inl

Return Value

void

Parameters

bEnable

TRUE to enable redraw after insert.

Comments

By default, the control is not invalidated after every insert/delete. This allows for efficient addition and removal of multiple items, followed by ReMeasureAllItems() and Invalidate() calls. If EnableRedrawAfterInsert( TRUE ) is called, the control will remeasure and invalidate after each insert/delete.