Please enable JavaScript to view this site.

A-Shell Reference

Parameter winstyle (integer) May be used in conjunction with winclass or ctype to specify window-style flags. This is equivalent to the dwStyle parameter in the WIN32 API CreateWindowsEx() function; consult the Microsoft documentation for details. As with winclass, these flags are only practical if they affect the appearance or other characteristic of the control without changing the way it interacts with the application.

Symbol

Value

Description

WS_VISIBLE

&h10000000

The window is initially visible.

WS_CHILD

&h40000000

The window is a child window. A window with this style cannot have a menu bar. This style cannot be used with WS_POPUP. .

WS_OVERLAPPED

&h00000000

The window is an overlapped window. An overlapped window has a title bar and a border.

WS_POPUP

&h80000000

The windows is a pop-up window. This style cannot be used with the WS_CHILD style.

WS_CLIPSIBLINGS

&h04000000

Clips child windows relative to each other; that is, when a particular child window receives a WM_PAINT message, the WS_CLIPSIBLINGS style clips all other overlapping child windows out of the region of the child window to be updated. If WS_CLIPSIBLINGS is not specified and child windows overlap, it is possible, when drawing within the client area of a child window, to draw within the client area of a neighboring child window.

WS_CLIPCHILDREN

&h02000000

Excludes the area occupied by child windows when drawing occurs within the parent window. This style is used when creating the parent window.

WS_MAXIMIZE

&h01000000

The window is initially maximized.

WS_CAPTION

&h00C00000

Adds a title bar. Includes the WS_BORDER style.

WS_BORDER

&h00800000

Adds a thin-line border.

WS_DLGFRAME

&h00400000

The window has a border of a style typically used with dialog boxes. A window with this style cannot have a title bar.

WS_SYSMENU

&h00080000

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

WS_MINIMIZEBOX

&h00020000

 

WS_MAXIMIZEBOX

&h00010000

The window has a maximize button. The WS_SYSMENU style must also be specified.

WS_VSCROLL

&h00200000

Used to support vertical scrolling in dialogs. The scroll bar is initially disabled, but is automatically enabled and configured as fields are added to the dialog that extend beyond the bottom of the visible dialog. Users can scroll the dialogs using the scroll bar. AUI_EVENTWAIT will also auto-scroll the dialog as needed to bring the newly focused control into view. See Dialog Scrolling.  

Hex-Decimal Values