| OS/2 | Windows | Explanation |
| ES_ANY | - | Allows an entry field to accept a mixture of double-byte and single-byte characters. |
| ES_AUTOSCROLL | ES_AUTOHSCROLL | Allows text entered in the entry field to scroll horizontally, allowing the insertion point to remain visible. |
| ES_AUTOSIZE | - | Allows automatic sizing of the entry field based on its text. The cx and cy components of the size are set to -1 (OS/2 Version 2.x and above). |
| ES_AUTOTAB | - | Moves the cursor to the next control when the maximum number of characters that an entry field can accept is entered by the user. |
| ES_CENTER | ES_CENTER | Centers the text in the entry field. The text will remain centered even when the user is entering text. In Windows, this style is valid only for multi-line entry fields. |
| ES_COMMAND | - | This style identifies the entry field as a command entry field. This information is used by the Help Manager to provide command help if the user requests it for this field. Not more than one entry field on each dialog should be given this style. |
| ES_DBCS | - | Allows the entry field to accept only double-byte characters. |
| ES_LEFT | ES_LEFT | Left justifies the text in the entry field. The text scrolls to the right as the user enters new text. |
| ES_MARGIN | WS_BORDER | Draws a border surrounding the area of input. When not used, no border is drawn around the entry field. |
| ES_MIXED | - | Allows an entry field to accept a mixture of single- and double-byte characters. This option is not like the ES_ANY, as it converts ASCII DBCS data to EBCDIC DBCS data without causing an error condition. |
| ES_PICTUREMASK | - | This option was partially documented in the toolkits but not implemented in the final OS/2 Version 1.2 release. A structure called ENTRYFDATA was stated to allow a picture mask containing editing parameters for the entry field. |
| ES_READONLY | - | Keeps the entry field from accepting input or editing of the text displayed in it. |
| ES_RIGHT | ES_RIGHT | Right justifies the text in the entry field. The text scrolls to the left as the user enters new text. In Windows, this style is valid only for multi-line entry fields. |
| ES_SBCS | - | Allows the entry field to accept only single-byte characters. |
| ES_UNREADABLE | ES_PASSWORD | Causes the entry field to display asterisks when the user types. This option is useful for entry fields used for passwords and such. |
| - | ES_AUTOVSCROLL | Causes the text in a multi-line entry field to scroll up one page when the user presses the Enter key and the cursor is on the last line of the entry field. |
| - | ES_LOWERCASE | Causes the entry field to convert text entered to lower case. |
| - | ES_MULTILINE | Creates a multi-line entry field. The OS/2 Presentation Manager has a class and set of styles specifically for the multi-line entry field. |
| - | ES_NOHIDESEL | Prevents the text in the entry field from becoming unhighlighted when focus is moved from the field. |
| - | ES_OEMCONVERT | Converts the text entered in the entry field of the combo from the ANSI character set to the OEM character set and then back to the ANSI character set. |
| - | ES_UPPERCASE | Converts text entered in the entry field to upper case. |
| - | ES_WANTRETURN | Specifies that a carriage return be inserted when the user presses the ENTER key while entering text into a multiline edit control in a dialogue box. If no specified, pressing the ENTER key has the same effect as pressing the dialogue boxs default push button. This style has no effect on a single-line edit control. |
![]()
![]()
OS/2 - Windows Styles
Definitions: Detailed Descriptions
![]()
OS/2 - Windows Styles
Definitions: Summary