MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LVM_REDRAWITEMS

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This 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.

Call the SendMessage function to send this message..


lResult = SendMessage(
  (HWND) hWndControl,
  (UINT) LVM_REDRAWITEMS,
  (WPARAM) wParam,      // = (WPARAM) (int) iFirst;
  (LPARAM) lParam       // = (LPARAM) (int) iLast; );
);

iFirst

Index of the first item to redraw.

iLast

Index of the last item to redraw.

TRUE indicates success. FALSE indicates failure.

Related macro: ListView_RedrawItems

Headercommctrl.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2016 Microsoft