LM QUERYITEMCOUNT
Appearance
This message returns a count of the number of items in the list box control.
Syntax
param1 ULONG ulReserved; /* Reserved value, should be 0. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- ulReserved (ULONG) - input
- Reserved value, should be 0.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- sItemCount (SHORT) - returns
- Item count.
Remarks
The list box control window procedure responds to this message by setting sItemCount to the number of items in the list.
Default Processing
The default window procedure does not expect to receive this message and therefore takes no action on it, other than to set sItemCount to the default value of 0.