msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
List-box styles (1.2)
Control Classes                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
Style           Description
────────────────────────────────────────────────────────────────────────────
LS_HORZSCROLL   Creates a horizontal scroll bar.
 
LS_MULTIPLESEL  Causes the string in a list-box item to be alternately
                selected and not selected each time the user selects the
                list-box item. The user can select any number of strings.
 
LS_NOADJUSTPOS  Prevents the height of the list box from being adjusted to a
                multiple of the item height. A list box with this style
                could display a partial item at the bottom of the box.
 
LS_OWNERDRAW    Causes the owner window to receive a WM_DRAWITEM message
                each time an item must be drawn or highlighted.
 
                                      ♦