class Fox::FXListBox

The List Box is a control to select one of a list of options. It looks similar to a Combo Box except that List Box yields integer numbers only. When an option is selected, List Box will send an SEL_COMMAND with the index of the opton. While manipulating the list, it may send SEL_CHANGED messages to indicate which option the cursor is hovering over. The List Box is able to receive ID_GETINTVALUE and ID_SETINTVALUE which will retrieve the current option or change the selected option.

Events

The following messages are sent by FXListBox to its target:

SEL_COMMAND

sent when a new list item is clicked; the message data is the index of the selected item.

SEL_CHANGED

sent when a new list item is clicked.

List Box styles

LISTBOX_NORMAL

Normal style

Message identifiers

ID_LIST ID_FIELD