Window styles help

Styles:

WS_BORDER - The window has a thin border

WS_DLGFRAME - The window has a border typically used with dialog boxes.

WS_DISABLED - The window is disabled, the window cannot receive input from the user.

WS_MINIMIZE or WS_ICONIC - The window is minimized.

WS_MAXIMIZE - The window is maximized.

WS_HSCROLL - The window has a horizontal scroll bar.

WS_VSCROLL - The window has a vertical scroll bar.

WS_SIZEBOX or WS_THICKFRAME - The window can be resized by the user

WS_OVERLAPPED - Creates an overlapped window. An overlapped window has a title bar and a border. Same as the WS_TILED style.

WS_CAPTION - Creates a window that has a title bar (includes the WS_BORDER style).

WS_SYSMENU - Creates a window that has a window menu on its title bar. The WS_CAPTION style must also be specified.

WS_THICKFRAME - Creates a window that has a sizing border. Same as the WS_SIZEBOX style.

WS_POPUP
Creates a pop-up window. This style cannot be used with the WS_CHILD style.

WS_MINIMIZEBOX - Creates a window that has a minimize button. Cannot be combined with the WS_EX_CONTEXTHELP style. The WS_SYSMENU style must also be specified.

WS_MAXIMIZEBOX - Creates a window that has a maximize button. Cannot be combined with the WS_EX_CONTEXTHELP style. The WS_SYSMENU style must also be specified.

WS_OVERLAPPEDWINDOW or WS_TILEDWINDOW - Creates an overlapped window with the WS_OVERLAPPED, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, and WS_MAXIMIZEBOX styles.