ListView_Update macro (commctrl.h)

Updates a list-view item. If the list-view control has the LVS_AUTOARRANGE style, this macro causes the list-view control to be arranged. You can use this macro or send the LVM_UPDATE message explicitly.

Syntax

BOOL ListView_Update(
   HWND hwndLV,
   int  i
);

Parameters

hwndLV

Type: HWND

A handle to the list-view control.

i

Type: int

The index of the item to update.

Return value

Type: BOOL

Returns TRUE if successful, or FALSE otherwise.

Requirements

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