ComboBox

The combo box is an edit field with an associated drop down list box to select from. Note that ComboBox itself is a subclass of Edit that has a child ListBox window. That is, what is really to the user a single ComboBox is actually an edit field and a list field that communicate with eachother. The dropdown is enacted by the user by pressing <Alt+DownArrow>. ComboBox has an option to provide for selection only (i.e. no free form text entry of the edit field); this option corresponds to the CUA drop-down list.

Note: With a ComboBox in a Dialog Box, you should reserve a ListBox window in the array of dialog window, immediately after the ComboBox window itself. Although the ComboBox itself allows the attached Listboxes to be anywhere in the application's data segment (as pointed to by the Menu field), the Dialog Box handler assumes the listbox immediately follows the combobox in the array of window controls.

Window Structure Details

Messages