LM QUERYITEMCOUNT: Difference between revisions
Appearance
Created page with "This message returns a count of the number of items in the list box control. ==Syntax== <pre> param1 ULONG ulReserved; →Reserved value, should be 0.: param2 ULONG ulReserved; →Reserved value, should be 0.: </pre> ==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 pro..." |
No edit summary |
||
Line 23: | Line 23: | ||
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. | 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. | ||
[[Category: | [[Category:Messages]] |
Latest revision as of 23:17, 14 April 2025
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.