This documentation is archived and is not being maintained.

CListCtrl::RedrawItems 

Forces a list view control to repaint a range of items.


BOOL RedrawItems(
   int nFirst,
   int nLast 
);

Parameters

nFirst

Index of the first item to be repainted.

nLast

Index of the last item to be repainted.

Nonzero if successful; otherwise zero.

The specified items are not actually repainted until the list view window receives a WM_PAINT message. To repaint immediately, call the Windows UpdateWindow function after using this function.

Show: