C
#define LbGetVisibleCount(pLb) \ ( \ (((LISTBOX *)pLb)->hdr.bottom - ((LISTBOX *)pLb)->hdr.top - 2 * (GOL_EMBOSS_SIZE + LB_INDENT)) / \ ((LISTBOX *)pLb)->textHeight \ )
Overview
This macro returns the number of items visible in the list box window.
Input Parameters
Input Parameters |
Description |
pLb |
The pointer to the list box object. |
Returns
The number of items visible in the list box window.
Preconditions
none
Side Effects
none