Combination Box Styles

OS/2 Windows Explanation
CBS_DROPDOWN CBS_DROPDOWN Creates a combination box containing an entry field with a drop-down icon that is visible at all times. When the drop-down icon is selected, the list box of the combination box is displayed, allowing the user to select an item from the displayed list; the item is placed in the entry field. Text can be entered or edited in the entry field.
CBS_DROPDOWNLIST CBS_DROPDOWNLIST Creates a combination box similar to the drop-down (CBS_DROPDOWN) option but prevents the user from entering or editing text in the entry field.
CBS_SIMPLE CBS_SIMPLE Creates a combination box containing an entry field and list box that are visible at all times. The combination box allows the user to select items from the list box; items are placed in the entry field. Text can be entered or edited in the entry field.
  CBS_AUTOHSCROLL Causes the entry field portion of the combo box to scroll the text to the right when the user types a character at the end of the line. If not specified, the only the text that fits within the entry field is allowed.
  CBS_HASSTRINGS Designates that the owner-drawn combo box contains string items, thereby allowing the application to use the LB_GETTEXT message to query the text of an item.
  CBS_NOINTEGRALHEIGHT Prevents the height of the list box from being adjusted to a multiple of the item height. List boxes with this style could display partial items at the bottom of the box.
  CBS_OEMCONVERT Converts the text entered in the combo box entry field from the ANSI character set to the OEM character set and then finally back to the ANSI character set.
  CBS_OWNERDRAWFIXED Draws the list box portion of the combo box using a fixed height for each item. The list box owner is responsible for the contents.
  CBS_OWNERDRAWVARIABLE Draws the list box portion of the combo box using a variable height for each item. The list box owner is responsible for the contents.
  CBS_SORT Sorts the strings entered in the list box portion of the combo box.
- WS_VSCROLL Adds a vertical scroll bar to the right side of the list box. The bar allows the user to scroll the contents of the list box vertically.


OS/2 - Windows Styles Definitions: Detailed Descriptions
OS/2 - Windows Styles Definitions: Summary