LB_GETCARETINDEX Returns 0 for Zero Entries in List BoxLast reviewed: November 2, 1995Article ID: Q97922 |
The information in this article applies to:
To determine whether a multiple selection list box is empty or has no items to select, two messages are required. First, call LB_GETCOUNT to determine whether or not the list box is empty. If the list box is not empty, then use LB_GETCARETINDEX to determine the position of the caret. If you want a list box to contain selections that remain after the focus goes elsewhere, Microsoft recommends using visible check marks next to the items in the list box. This method provides better visual feedback to the user than a selection bar.
|
Additional reference words: 3.50 3.51 4.00 95 listbox
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |