WindowStyles (Enums)
Last changed: 94.124.0.19

.
Summary
Defines the possible window style flags in Microsoft's API. These flags can be OR'd together to make more complex styles.

C# Definition:

    [Flags]
    public enum WindowStyles : uint
    {
        WS_OVERLAPPED       = 0x00000000,
        WS_POPUP        = 0x80000000,
        WS_CHILD        = 0x40000000,
        WS_MINIMIZE     = 0x20000000,
        WS_VISIBLE      = 0x10000000,
        WS_DISABLED     = 0x08000000,
        WS_CLIPSIBLINGS     = 0x04000000,
        WS_CLIPCHILDREN     = 0x02000000,
        WS_MAXIMIZE     = 0x01000000,
        WS_BORDER       = 0x00800000,
        WS_DLGFRAME     = 0x00400000,
        WS_VSCROLL      = 0x00200000,
        WS_HSCROLL      = 0x00100000,
        WS_SYSMENU      = 0x00080000,
        WS_THICKFRAME       = 0x00040000,
        WS_GROUP        = 0x00020000,
        WS_TABSTOP      = 0x00010000,

        WS_MINIMIZEBOX      = 0x00020000,
        WS_MAXIMIZEBOX      = 0x00010000,

        WS_CAPTION      = WS_BORDER | WS_DLGFRAME,
        WS_TILED        = WS_OVERLAPPED,
        WS_ICONIC       = WS_MINIMIZE,
        WS_SIZEBOX      = WS_THICKFRAME,
        WS_TILEDWINDOW      = WS_OVERLAPPEDWINDOW,

        WS_OVERLAPPEDWINDOW = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX,
        WS_POPUPWINDOW      = WS_POPUP | WS_BORDER | WS_SYSMENU,
        WS_CHILDWINDOW      = WS_CHILD,
    }

VB Definition:

    <Flags()> _
    Enum WindowStyles
        WS_OVERLAPPED = &H0
        WS_POPUP = &H80000000
        WS_CHILD = &H40000000
        WS_MINIMIZE = &H20000000
        WS_VISIBLE = &H10000000
        WS_DISABLED = &H8000000
        WS_CLIPSIBLINGS = &H4000000
        WS_CLIPCHILDREN = &H2000000
        WS_MAXIMIZE = &H1000000
        WS_BORDER = &H800000
        WS_DLGFRAME = &H400000
        WS_VSCROLL = &H200000
        WS_HSCROLL = &H100000
        WS_SYSMENU = &H80000
        WS_THICKFRAME = &H40000
        WS_GROUP = &H20000
        WS_TABSTOP = &H10000
        WS_MINIMIZEBOX = &H20000
        WS_MAXIMIZEBOX = &H10000
        WS_CAPTION = WS_BORDER Or WS_DLGFRAME
        WS_TILED = WS_OVERLAPPED
        WS_ICONIC = WS_MINIMIZE
        WS_SIZEBOX = WS_THICKFRAME
        WS_TILEDWINDOW = WS_OVERLAPPEDWINDOW
        WS_OVERLAPPEDWINDOW = WS_OVERLAPPED Or WS_CAPTION Or WS_SYSMENU Or WS_THICKFRAME Or WS_MINIMIZEBOX Or WS_MAXIMIZEBOX
        WS_POPUPWINDOW = WS_POPUP Or WS_BORDER Or WS_SYSMENU
        WS_CHILDWINDOW = WS_CHILD
    End Enum

Notes:

None.

Documentation