Export (0) Print
Expand All
Expand Minimize

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.

Return Value

Nonzero if successful; otherwise zero.

Remarks

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.

See Also

CListCtrl Overview | Class Members | Hierarchy Chart | CListCtrl::DrawItem

Show:
© 2014 Microsoft