This system-provided window procedure processes the actions on a list box
control (WC_LISTBOX).
Purpose
A list box control is a window containing a list of items. Each item in
a list box contains a text string (0 or more characters) and a handle. The
text string is displayed in the list box window. The handle can be used
by the application to refer to other data associated with each item.
List Box Control Styles
These list box control styles are available:
LS_HORZSCROLL
The list box control enables the operator
to scroll the list box horizontally.
LS_MULTIPLESEL
The list box control enables the operator to select
more than one item at any one time. Lists that do not have this style allow
only a single selection at any one time. If this style is specified, LS_EXTENDEDSEL
should also be specified.
LS_EXTENDEDSEL
If
this style is specified, the extended selection user interface is enabled.
LS_OWNERDRAW
The list box
control has one or more items that can be drawn by the owner. Typically,
these items are represented by bit maps rather than by text strings.
LS_NOADJUSTPOS
If this style is included, the list box control
is drawn at the size specified. This can cause parts of an item to be shown.
[Back]
[Next]