2.2.16 New Control and Window Styles

The following new user control and window styles have been added to Windows 3.1:

Style Description

CBS_DISABLENOSCROLL Shows a disabled vertical scroll bar in the combo box when the box does not contain enough items to scroll.
ES_READONLY Prevents the user from typing or editing text in the edit control.
ES_WANTRETURN Specifies that a carriage return should be inserted when the user presses the ENTER key while entering text into a multiline edit control in a dialog box.
LBS_DISABLENOSCROLL Shows a disabled vertical scroll bar in the list box when the box does not contain enough items to scroll.
WS_EX_ACCEPTFILES Specifies that a window created with this style processes the WM_DROPFILES message. This style is used with the CreateWindowEx function.
WS_EX_TOPMOST Places a window above all non-topmost windows and keeps it above them even when the window is deactivated. This style is used with the CreateWindowEx function.
WS_EX_TRANSPARENT Specifies that a window created with this style is transparent. This style is used with the CreateWindowEx function.