| OS/2 | Windows | Explanation |
| WS_CLIPCHILDREN | WS_CLIPCHILDREN | Prevents a window from over-painting a child window. It is used to protect a child window from some actions of its parent. Generally not required; when a parent and child window overlap and both windows are invalid, the parent window is drawn first and the child window is drawn next. |
| WS_CLIPSIBLINGS | WS_CLIPSIBLINGS | Prevents a window from over-painting sibling windows. It is used to provide windows of the same parent from being drawn in accidentally. It is useful when windows have the same parent and are allowed to overlap each other. |
| WS_DISABLED | WS_DISABLED | Used to disable mouse and keyboard input to a window. You can use this option to temporarily prevent the user from using the window. |
| WS_GROUP | WS_GROUP | Specifies the first control of a group of controls in which the user can move from one control to the next with the DIRECTION keys. All controls defined after the first control with the WS_GROUP style belong to the same group. The next control with the WS_GROUP option ends the first group and starts a new group. |
| WS_MAXIMIZED | WS_MAXIMIZE | Enlarges the window to the maximum size. |
| WS_MINIMIZED | WS_MINIMIZE | Reduces the window to the minimum size. |
| WS_MULTISELECT | - | Not documented but included within include header files. |
| WS_PARENTCLIP | - | Prevents a child window from over-painting its parent window. |
| WS_SAVEBITS | - | Instructs a window to save the image that lies underneath it. When the window is hidden or moved, the image beneath the window is immediately restored. It is recommended that only windows such as dialogs and menus use this option, since memory is used to store the image beneath the window. |
| WS_SYNCPAINT | - | Causes a window to immediately repaint itself after part of the window becomes invalidated. If this is not used, the window is instructed to repaint itself only after all other messages to the window have been processed. |
| WS_TABSTOP | WS_TABSTOP | Specifies one of any number of controls through which the user can move by tabbing. The TAB key moves the focus to the next control that has the WS_TABSTOP style. |
| WS_VISIBLE | WS_VISIBLE | Makes the window visible. OS/2 Presentation Manager draws the window on the screen unless overlapping windows completely obscure it. Windows without this style are hidden. If overlapping windows completely obscure the window, the window is still considered visible. (Visibility simply means that OS/2 Presentation Manager draws the window if it can.) |
| - | DS_LOCALEDIT | Makes the dialogue box use the memory within the application's data segment for edit controls. By default, all edit controls in dialogue boxes use memory outside of the application's data segment. |
| - | DS_MODALFRAME | Creates a modal dialogue box. |
| - | DS_NOIDLEMSG | Suppresses WM_ENTERIDLE messages that would be sent by Windows to the dialogue box owner. |
| - | DS_SYSMODAL | Creates a system modal dialogue box. |
| - | WS_BORDER | Creates a window with a border. |
| - | WS_CAPTION | Creates a window with a title bar. |
| - | WS_CHILD | Creates a child window. This style cannot be used with the WS_POPUP style. |
| - | WS_CHILDWINDOW | Creates a child window similar to that created by the WS_CHILD style. |
| - | WS_DLGFRAME | Creates a window that has a modal dialogue box frame without a title bar. |
| - | WS_HSCROLL | Creates a horizontal scroll bar. |
| - | WS_ICONIC | Creates a window that is initially iconic. This style can only be used with WS_OVERLAPPED. |
| - | WS_MAXIMIZEBOX | Creates a window with a maximize box. |
| - | WS_MINIMIZEBOX | Creates a window with a minimize box. |
| - | WS_OVERLAPPED | Creates a window containing a caption (title bar) and border. |
| - | WS_OVERLAPPEDWINDOW | Creates a window that has a title bar, system menu, minimize and maximize boxes, and a sizing border. |
| - | WS_POPUP | Creates a pop-up window. This style cannot be used with the WS_CHILD style. |
| - | WS_POPUPWINDOW | Creates a pop-up window with a border and system menu. To make the system menu visible, the WS_CAPTION style must be used to create the title bar for the pop-up window. |
| - | WS_SIZEBOX | Creates a window with a size box. It is used only with windows that have a title bar or with vertical and horizontal scroll bars. |
| - | WS_SYSMENU | Creates a window with a system menu. |
| - | WS_THICKFRAME | Creates a window with a sizing border. |
![]()
![]()
OS/2 - Windows Styles
Definitions: Detailed Descriptions
![]()
OS/2 - Windows Styles
Definitions: Summary