Window Style

From ReliCodia

</table>

WS_BORDER Add thin border to window.
WS_CAPTION Add Title Bar to window (includes WS_BORDER).
WS_CHILD Create a Child Window. (Child window cannot have a menu bar. Cannot be used with WS_POPUP.)
WS_CHILDWINDOW Same as the WS_CHILD.
WS_CLIPCHILDREN When repainting this (parent) window, child windows are not overpainted (they are clipped).
WS_CLIPSIBLINGS When repainting this (child) window, other children of the common parent (its siblings) are not overpainted (in case they overlap).
WS_DISABLED Window is initially disabled (no user input). Can be enabled later by calling EnableWindow.
WS_DLGFRAME Add dialog-like border. Cannot be combined with title bar.
WS_GROUP Used in Dialog Boxes to form groups of controls navigated using arrow keys. The first control in the group has this style. The group ends when the next WS_GROUP control is encountered.

Usually used with combination with WS_TABSTOP. <p>This style can be dynamically turned on and off off using SetWindowLong.

WS_HSCROLL Add horizontal scroll bar.
WS_ICONIC Same as WS_MINIMIZE.
WS_MAXIMIZE Window is initially maximized.
WS_MAXIMIZEBOX Add a maximize button. (Requires WS_SYSMENU. Cannot be combined with WS_EX_CONTEXTHELP.)
WS_MINIMIZE Window is initially minimized. (Same as the WS_ICONIC.)
WS_MINIMIZEBOX Add minimize button. (Requires WS_SYSMENU, cannot be combined with WS_EX_CONTEXTHELP.)
WS_OVERLAPPED Overlapped Window with a title bar and a border. (Same as the WS_TILED.)
WS_OVERLAPPEDWINDOW Overlapped Window combines WS_OVERLAPPED, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, and WS_MAXIMIZEBOX. (Same as the WS_TILEDWINDOW.) This is usually the standard top-level window of an application.
WS_POPUP A Popup Window. (Cannot be used with WS_CHILD.)
WS_POPUPWINDOW A Popup Window combines WS_BORDER, WS_POPUP, and WS_SYSMENU. To make window menu visible, combine with WS_CAPTION.
WS_SIZEBOX Add a sizing border. (Same as the WS_THICKFRAME.)
WS_SYSMENU Add Window Menu to the title bar. Requires WS_CAPTION.
WS_TABSTOP Used in dialog boxes to make a given control a TAB key target. This style can be changed dynamically using SetWindowLong.
WS_THICKFRAME Add a thick sizing border to the window. (Same as the WS_SIZEBOX.)
WS_TILED Same as WS_OVERLAPPED.
WS_TILEDWINDOW Same as WS_OVERLAPPEDWINDOW.
WS_VISIBLE Make window initially visible. Can be dynamically turned on/off using ShowWindow or SetWindowPos.
WS_VSCROLL Add a vertical scroll bar.