The control is created with LBS_NOTIFY (so it reports selection and
double-click notifications), LBS_HASSTRINGS, a vertical scroll bar, a
border, and a tab stop for keyboard navigation. selection chooses the
selection mode: single (one item), multiple (toggle several with
click/space), or extended (Shift/Ctrl+click ranges).
Create a list box as a child of parent.
The control is created with LBS_NOTIFY (so it reports selection and double-click notifications), LBS_HASSTRINGS, a vertical scroll bar, a border, and a tab stop for keyboard navigation. selection chooses the selection mode: single (one item), multiple (toggle several with click/space), or extended (Shift/Ctrl+click ranges).