LVM_REDRAWITEMS message

Forces a list-view control to redraw a range of items. You can send this message explicitly or by using the ListView_RedrawItems macro.

Parameters

wParam

Index of the first item to redraw.

lParam

Index of the last item to redraw.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

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

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h