OS/2 - Windows Styles Definitions: Summary
The IRE records all control types and styles
when you import a resource file into the IRE. However, you will
see only the control types, and related styles, that are found on
the target operating system.
When you use the resource conversion tool, you
must be aware of the differences a particular control may have
between one operating system and the other. The resource
conversion tool works only with a limited set of controls common
between the two systems, and with a limited set of styles for
those controls. When writing out the final resource file, the
conversion tool will ignore controls found on one operating
system and not on the other.
The following tables show the controls common
to both OS/2 and Windows. Each table lists the styles, found on
both operating systems, that the IRE and the conversion tool
understand. For more a detailed description, see OS/2 - Windows Styles
Definitions: Detailed Descriptions.
Note: Entries indicating that
the style is common to both OS/2 and Windows denote that the
style maps between the two systems and thus, will be present on
either system. Entries containing only an OS/2 or Windows style
denote that, for example, when you import an OS/2 resource file
onto Windows, and save it as a Windows resource, the IRE will
omit the style from the control because the style is not found on
the target operating system.
Quick Lookup:
Control | Button
Style | Class Style | Combo Box Style | Entry
Field Style | Frame Style | List
Box Style | Menu Style | Menu
Attribute | MLE Styles | Scroll
Bar Styles | Static Styles | Static Text Display Types | Window Styles
Control
| Control |
OS/2 |
Windows |
| Animate |
|
· |
| Bitmap |
· |
· |
| Check box |
· |
· |
| Circular slider |
· |
· |
| Combo box |
· |
· |
| Container |
· |
|
| Entry Field |
· |
· |
| Graphic button |
· |
|
| Group box |
· |
· |
| Handwriting entry field |
· |
|
| Horizontal scroll bar |
· |
· |
| Hot key |
|
· |
| Icon |
· |
· |
| List box |
· |
· |
| List view |
|
· |
| Multi-line edit |
· |
· |
| Notebook |
· |
|
| Progress bar |
|
· |
| Push button |
· |
· |
| Radio button |
· |
· |
| Rich edit |
|
· |
| Sketch |
· |
|
| Slider |
· |
|
| Spin button |
· |
|
| Static frame |
· |
· |
| Static rectangle |
· |
· |
| Static text |
· |
· |
| Tab |
|
· |
| Title bar |
· |
|
| Track bar |
|
· |
| Tree view |
|
· |
| Up down |
|
· |
| User defined button |
· |
|
| Value set |
· |
|
| Vertical scroll bar |
· |
· |
| Window frame |
· |
|
Button Style
| Button Style |
OS/2 |
Windows |
| 3 state |
· |
· |
| Auto 3 state |
· |
· |
| Auto check box |
· |
· |
| Auto radio button |
· |
· |
| Auto size |
· |
· |
| Bitmap |
· |
· |
| Check box |
· |
· |
| Default |
· |
· |
| Group box |
|
· |
| Help |
· |
· |
| Icon |
· |
· |
| Left text |
|
· |
| Mini-icon |
· |
· |
| No border |
· |
· |
| No cursor select |
· |
· |
| No pointer focus |
· |
· |
| Notify |
|
· |
| Owner draw |
|
· |
| Push button |
· |
· |
| Radio button |
· |
· |
| SYSCOMMAND |
· |
· |
| Text |
· |
· |
| User button |
· |
· |
Class Style
All class style controls are found on OS/2
only.
Combo Box Style
| Combo Box Style |
OS/2 |
Windows |
| Auto horizontal scroll |
|
· |
| Drop down list |
· |
· |
| Drop down |
· |
· |
| Has strings |
|
· |
| No integral height |
|
· |
| OEM convert |
|
· |
| Owner draw -- fixed |
|
· |
| Owner draw -- variable |
|
· |
| Simple |
· |
· |
| Sort |
|
· |
| Vertical scroll bar |
|
· |
Entry Field Style
| Entry Field Style |
OS/2 |
Windows |
| Any |
· |
|
| Auto scroll |
· |
|
| Auto size |
· |
|
| Auto tab |
· |
|
| Auto vertical scroll |
|
· |
| Center |
· |
· |
| Command |
· |
|
| DBCS |
· |
|
| Left |
· |
· |
| Lower case |
|
· |
| Margin/border |
· |
|
| Mixed |
· |
|
| Multi-line |
|
· |
| No hide selection |
|
· |
| OEM convert |
|
· |
| Read-only |
· |
· |
| Right |
· |
· |
| SBCS |
· |
|
| Unreadable/password |
· |
· |
| Upper case |
|
· |
| Want return |
|
· |
Frame Style
All frame style controls are found on OS/2
only.
List Box Style
| List Box Style |
OS/2 |
Windows |
| Extended selection |
· |
· |
| Has strings |
|
· |
| Horizontal scroll bar |
· |
· |
| Multiple column |
|
· |
| Multiple select |
· |
· |
| No adjust position |
· |
· |
| No redraw |
|
· |
| Notify |
|
· |
| Owner draw -- variable |
|
· |
| Owner draw |
· |
· |
| Sort |
|
· |
| Standard |
|
· |
| Use tab stops |
|
· |
| Vertical scroll bar |
|
· |
| Want keyboard input |
|
· |
Menu Style
| Menu Style |
OS/2 |
Windows |
| Bitmap |
· |
· |
| Break |
· |
· |
| Break separator |
· |
· |
| Button separator |
· |
|
| Group |
· |
|
| Help |
· |
|
| Owner draw |
· |
· |
| Separator |
· |
· |
| Static |
· |
|
| Submenu |
· |
|
| SYSCOMMAND |
· |
|
| Text |
· |
· |
Menu Attribute
| Menu Attribute |
OS/2 |
Windows |
| Checked |
· |
· |
| Disabled |
· |
· |
| Framed |
· |
|
| Hilighted |
· |
· |
| No dismiss |
· |
|
MLE Styles
| MLE Styles |
OS/2 |
Windows |
| Auto horizontal scroll |
|
· |
| Auto vertical scroll |
|
· |
| Border |
· |
· |
| Center |
|
· |
| Disable undo |
· |
|
| Horizontal scroll bar |
· |
· |
| Ignore tab |
· |
|
| Left |
|
· |
| Limit vertical scroll |
· |
|
| Lower case |
|
· |
| No hide selection |
|
· |
| OEM convert |
|
· |
| Password |
|
· |
| Read only |
· |
|
| Right |
|
· |
| SBCS |
|
· |
| Upper case |
|
· |
| Vertical scroll bar |
· |
· |
| Want return |
|
· |
| Word wrap |
· |
|
Scroll Bar Styles
| Scroll Bar Styles |
OS/2 |
Windows |
| Auto size |
· |
|
| Auto track |
· |
|
| Bottom align |
|
· |
| Horizontal |
· |
· |
| Left align |
|
· |
| Right align |
|
· |
| Size box -- bottom right align |
|
· |
| Size box -- top left align |
|
· |
| Size box |
|
· |
| Thumbsize |
· |
|
| Top align |
|
· |
| Vertical |
· |
|
Static Styles
| Static Styles |
OS/2 |
Windows |
| Auto size |
· |
|
| Background/white frame |
· |
· |
| Background/white rectangle |
· |
· |
| Bitmap |
· |
· |
| Center text |
|
· |
| Foreground/black frame |
· |
· |
| Foreground/black rectangle |
· |
· |
| Group box |
· |
|
| Halftone/gray frame |
· |
· |
| Halftone/gray rectangle |
· |
· |
| Icon |
· |
· |
| Left text no word wrap |
|
· |
| Left text |
|
· |
| No prefix |
|
· |
| Right text |
|
· |
| Simple text |
|
· |
| System icon |
· |
|
| Text |
· |
|
| User defined |
|
· |
Static Text Display
Types
All static text display type controls are found
on OS/2 only.
Window Styles
| Window Styles |
OS/2 |
Windows |
| Border |
|
· |
| Caption |
|
· |
| Child window |
|
· |
| Child |
|
· |
| Clip children |
· |
· |
| Clip siblings |
· |
· |
| Dialogue frame |
|
· |
| Disabled |
· |
· |
| Group |
· |
· |
| Horizontal scroll bar |
|
· |
| Iconic |
|
· |
| Local edit |
|
· |
| Maximize box |
|
· |
| Maximized |
· |
· |
| Minimize box |
|
· |
| Minimized |
· |
· |
| Modal frame |
|
· |
| Multiselect |
· |
|
| No idle message |
|
· |
| Overlapped window |
|
· |
| Overlapped |
|
· |
| Parent clip |
· |
|
| Popup window |
|
· |
| Popup |
|
· |
| Save bits |
· |
|
| Size box |
|
· |
| Sync paint |
· |
|
| System menu |
|
· |
| System model |
|
· |
| Tab stop |
· |
· |
| Thick frame |
|
· |
| Visible |
· |
|


OS/2 - Windows Styles
Definitions: Detailed Descriptions

Resource Conversion Utility