LB_GETSELCOUNT

This message is sent by an application to retrieve the total number of selected items in a multiple-selection list box.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

LB_GETSELCOUNT wParam = 0; lParam = 0;

Return Values

The count of selected items in the list box indicates success. LB_ERR indicates that the list box is a single-selection list box.

See Also

LB_SETSEL