%CBS_AUTOHSCROLL |
Automatically scroll the text in the text box to the right when the user types a character at the end of the line. If this style is not set, only text that fits within the rectangular boundary is allowed. |
%CBS_DISABLENOSCROLL |
Show a disabled vertical scroll bar in the list box when the box does not contain enough items to scroll. Without this style, the scroll bar is hidden when the list box does not contain enough items. |
%CBS_DROPDOWN |
Similar to %CBS_SIMPLE, except that the list box is not displayed unless the user selects the icon next to the edit control. (default) |
%CBS_DROPDOWNLIST |
Similar to %CBS_DROPDOWN, except that the text box is replaced by a (non-editable) label item that displays the current selection in the list box. |
%CBS_HASSTRINGS |
The combo box contains string data only. (persistent) |
%CBS_LOWERCASE |
Convert to lowercase any uppercase characters entered into the text box control portion of the combo box. |
%CBS_NOINTEGRALHEIGHT |
Create the list box portion of the combo box with exactly the size specified by the CONTROL ADD COMBOBOX statement. Without this style, Windows reduces the height of the list box portion of the combo box so that it does not display any partial (clipped) items. |
%CBS_OEMCONVERT |
String data is converted from the Windows (ANSI) character set, into the OEM character set, and back to the Windows character set. These tasks are performed so that subsequent OEM conversions from the item strings will work correctly. |
%CBS_OWNERDRAWFIXED |
Control has a fixed row height, however all aspects of the appearance of the control must be handled by the %WM_MEASUREITEM and %WM_DRAWITEM message handlers Function. |
%CBS_OWNERDRAWVARIABLE |
Control has a variable row height, but all aspects of the appearance of the control must be handled by the %WM_MEASUREITEM and %WM_DRAWITEM message handlers in the parent dialog Callback Function. |
%CBS_SIMPLE |
Display the list box at all times. The current selection in the list box is displayed in the text box. |
%CBS_SORT |
Automatically sorts the contents of the control every time a new string is added to the combo box. (default) |
%CBS_UPPERCASE |
Convert any characters entered into the text box of a combo box into uppercase. |
%WS_BORDER |
Add a thin line border around the control. |
%WS_DISABLED |
Create a control that is initially disabled. A disabled control cannot receive input from the user. Use the CONTROL ENABLE statement to re-enable a disabled control. |
%WS_GROUP |
Define the start of a group of controls. The first control in each group should also use %WS_TABSTOP style. The next %WS_GROUP control in the tab order defines the end of this group and the start of a new group. |
%WS_TABSTOP |
Allow the combo box control to receive keyboard focus when the user presses the TAB and SHIFT+TAB keys. The TAB key shifts keyboard focus to the next control with the %WS_TABSTOP style, and SHIFT+TAB shifts focus to the previous control with %WS_TABSTOP. (default) |
%WS_VSCROLL |
Allow the control to display a vertical scroll bar if the list is longer than the height of the combo box. Use in conjunction with %CBS_DISABLENOSCROLL to make the scroll bar visible at all times. |
%WS_EX_CLIENTEDGE |
Apply a sunken edge border to the control. (default) |
%WS_EX_LEFT |
The control has generic "left-aligned" properties. (default) |
%WS_EX_RIGHT |
The control has generic "right-aligned" properties. This style has an effect only if the shell language is Hebrew, Arabic, or another language that supports reading order alignment; otherwise, the style is ignored. |
%WS_EX_STATICEDGE |
Apply a three-dimensional border style to the control (intended to be used for items that do not accept user input). |
%WS_EX_TRANSPARENT |
Controls/windows beneath the dialog are drawn before the dialog is drawn. The dialog is deemed transparent because elements behind the dialog have already been painted - the dialog itself is not drawn differently. True transparency is achieved by using Regions - see MSDN and/or the Platform SDK documentation for more information. |
%WS_EX_WINDOWEDGE |
Apply a raised edge border to the control. |
See Also
CONTROL ADD COMBOBOX