LB_RESETCONTENT message

Removes all items from a list box.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

This message does not return a value.

Remarks

If the list box has an owner-drawn style but not the LBS_HASSTRINGS style, the owner of the list box receives a WM_DELETEITEM message for each item in the list box.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

WM_DELETEITEM