Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "WS_" in [All]

Enums

.

    /// parent's WS_CLIPCHILDREN and CS_PARENTDC style bits are ignored. The origin is

.

    ''' parent's WS_CLIPCHILDREN and CS_PARENTDC style bits are ignored. The origin is

.

    public const int SPAPI_E_NON_WINDOWS_NT_DRIVER = unchecked((int)0x800F022D);

.

    public const int SPAPI_E_NON_WINDOWS_DRIVER = unchecked((int)0x800F022E);

.

    //  FACILITY_WINDOWS_CE

.

    #region (0x180000 - 0x18FFFF) FACILITY_WINDOWS_CE=24 errors

.

    Public Const SPAPI_E_NON_WINDOWS_NT_DRIVER As Integer = CInt(&H800f022dUI)

.

    Public Const SPAPI_E_NON_WINDOWS_DRIVER As Integer = CInt(&H800f022eUI)

.

    '  FACILITY_WINDOWS_CE

.

    #Region "(0x180000 - 0x18FFFF) FACILITY_WINDOWS_CE=24 errors"

.

    /// The WM_ENABLE message is sent when an application changes the enabled state of a window. It is sent to the window whose enabled state is changing. This message is sent before the EnableWindow function returns, but after the enabled state (WS_DISABLED style bit) of the window has changed.

.

    '''The WM_ENABLE message is sent when an application changes the enabled state of a window. It is sent to the window whose enabled state is changing. This message is sent before the EnableWindow function returns but after the enabled state (WS_DISABLED style bit) of the window has changed.

.

    ''' enabled state (<c>WS_DISABLED</c> style bit) of the window has changed.

.

    WS_EX_ACCEPTFILES = 0x00000010,

.

    WS_EX_APPWINDOW = 0x00040000,

.

    WS_EX_CLIENTEDGE = 0x00000200,

.

    /// With WS_EX_COMPOSITED set, all descendants of a window get bottom-to-top painting order using double-buffering.

.

    /// but only if the descendent window also has the WS_EX_TRANSPARENT bit set.

.

    WS_EX_COMPOSITED = 0x02000000,

.

    /// WS_EX_CONTEXTHELP cannot be used with the WS_MAXIMIZEBOX or WS_MINIMIZEBOX styles.

.

    WS_EX_CONTEXTHELP = 0x00000400,

.

    WS_EX_CONTROLPARENT = 0x00010000,

.

    WS_EX_DLGMODALFRAME = 0x00000001,

.

    WS_EX_LAYERED = 0x00080000,

.

    WS_EX_LAYOUTRTL = 0x00400000,

.

    WS_EX_LEFT = 0x00000000,

.

    WS_EX_LEFTSCROLLBAR = 0x00004000,

.

    WS_EX_LTRREADING = 0x00000000,

.

    WS_EX_MDICHILD = 0x00000040,

.

    /// The window does not appear on the taskbar by default. To force the window to appear on the taskbar, use the WS_EX_APPWINDOW style.

.

    WS_EX_NOACTIVATE = 0x08000000,

.

    WS_EX_NOINHERITLAYOUT = 0x00100000,

.

    WS_EX_NOPARENTNOTIFY = 0x00000004,

.

    WS_EX_OVERLAPPEDWINDOW = WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE,

.

    WS_EX_PALETTEWINDOW = WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST,

.

    /// Using the WS_EX_RIGHT style has the same effect as using the SS_RIGHT (static), ES_RIGHT (edit), and BS_RIGHT/BS_RIGHTBUTTON (button) control styles.

.

    WS_EX_RIGHT = 0x00001000,

.

    WS_EX_RIGHTSCROLLBAR = 0x00000000,

.

    WS_EX_RTLREADING = 0x00002000,

.

    WS_EX_STATICEDGE = 0x00020000,

.

    WS_EX_TOOLWINDOW = 0x00000080,

.

    WS_EX_TOPMOST = 0x00000008,

.

    WS_EX_TRANSPARENT = 0x00000020,

.

    WS_EX_WINDOWEDGE = 0x00000100

.

    WS_EX_ACCEPTFILES = 0x00000010,

.

    WS_EX_APPWINDOW = 0x00040000,

.

    WS_EX_CLIENTEDGE = 0x00000200,

.

    WS_EX_COMPOSITED = 0x02000000,

.

    WS_EX_CONTEXTHELP = 0x00000400,

.

    WS_EX_CONTROLPARENT = 0x00010000,

.

    WS_EX_DLGMODALFRAME = 0x00000001,

.

    WS_EX_LAYERED = 0x00080000,

.

    WS_EX_LAYOUTRTL = 0x00400000,

.

    WS_EX_LEFT = 0x00000000,

.

    WS_EX_LEFTSCROLLBAR = 0x00004000,

.

    WS_EX_LTRREADING = 0x00000000,

.

    WS_EX_MDICHILD = 0x00000040,

.

    WS_EX_NOACTIVATE = 0x08000000,

.

    WS_EX_NOINHERITLAYOUT = 0x00100000,

.

    WS_EX_NOPARENTNOTIFY = 0x00000004,

.

    WS_EX_OVERLAPPEDWINDOW = WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE,

.

    WS_EX_PALETTEWINDOW = WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST,

.

    WS_EX_RIGHT = 0x00001000,

.

    WS_EX_RIGHTSCROLLBAR = 0x00000000,

.

    WS_EX_RTLREADING = 0x00002000,

.

    WS_EX_STATICEDGE = 0x00020000,

.

    WS_EX_TOOLWINDOW = 0x00000080,

.

    WS_EX_TOPMOST = 0x00000008,

.

    WS_EX_TRANSPARENT = 0x00000020,

.

    WS_EX_WINDOWEDGE = 0x00000100

.

    WS_EX_ACCEPTFILES = &H10

.

    WS_EX_APPWINDOW = &H40000

.

    WS_EX_CLIENTEDGE = &H200

.

    ''' With WS_EX_COMPOSITED set, all descendants of a window get bottom-to-top painting order using double-buffering.

.

    ''' but only if the descendent window also has the WS_EX_TRANSPARENT bit set.

.

    WS_EX_COMPOSITED = &H2000000

.

    ''' WS_EX_CONTEXTHELP cannot be used with the WS_MAXIMIZEBOX or WS_MINIMIZEBOX styles.

.

    WS_EX_CONTEXTHELP = &H400

.

    WS_EX_CONTROLPARENT = &H10000

.

    WS_EX_DLGMODALFRAME = &H1

.

    WS_EX_LAYERED = &H80000

.

    WS_EX_LAYOUTRTL = &H400000

.

    WS_EX_LEFT = &H0

.

    WS_EX_LEFTSCROLLBAR = &H4000

.

    WS_EX_LTRREADING = &H0

.

    WS_EX_MDICHILD = &H40

.

    ''' The window does not appear on the taskbar by default. To force the window to appear on the taskbar, use the WS_EX_APPWINDOW style.

.

    WS_EX_NOACTIVATE = &H8000000

.

    WS_EX_NOINHERITLAYOUT = &H100000

.

    WS_EX_NOPARENTNOTIFY = &H4

.

    WS_EX_OVERLAPPEDWINDOW = WS_EX_WINDOWEDGE Or WS_EX_CLIENTEDGE

.

    WS_EX_PALETTEWINDOW = WS_EX_WINDOWEDGE Or WS_EX_TOOLWINDOW Or WS_EX_TOPMOST

.

    ''' Using the WS_EX_RIGHT style has the same effect as using the SS_RIGHT (static), ES_RIGHT (edit), and BS_RIGHT/BS_RIGHTBUTTON (button) control styles.

.

    WS_EX_RIGHT = &H1000

.

    WS_EX_RIGHTSCROLLBAR = &H0

.

    WS_EX_RTLREADING = &H2000

.

    WS_EX_STATICEDGE = &H20000

.

    WS_EX_TOOLWINDOW = &H80

.

    WS_EX_TOPMOST = &H8

.

    WS_EX_TRANSPARENT = &H20

.

    WS_EX_WINDOWEDGE = &H100

.

    WS_EX_ACCEPTFILES As Long = &H10

.

    WS_EX_APPWINDOW  As Long = &H40000

.

    WS_EX_CLIENTEDGE As Long = &H200

.

    WS_EX_COMPOSITED As Long = &H2000000

.

    WS_EX_CONTEXTHELP As Long = &H400

.

    WS_EX_CONTROLPARENT As Long = &H10000

.

    WS_EX_DLGMODALFRAME As Long = &H1

.

    WS_EX_LAYERED As Long = &H80000

.

    WS_EX_LAYOUTRTL As Long = &H400000

.

    WS_EX_LEFT As Long = &H0

.

    WS_EX_LEFTSCROLLBAR As Long = &H4000

.

    WS_EX_LTRREADING As Long = &H0

.

    WS_EX_MDICHILD As Long = &H40

.

    WS_EX_NOACTIVATE As Long = &H8000000

.

    WS_EX_NOINHERITLAYOUT As Long = &H100000

.

    WS_EX_NOPARENTNOTIFY As Long = &H4

.

    WS_EX_OVERLAPPEDWINDOW As Long = WS_EX_WINDOWEDGE Or WS_EX_CLIENTEDGE

.

    WS_EX_PALETTEWINDOW As Long = WS_EX_WINDOWEDGE Or WS_EX_TOOLWINDOW Or WS_EX_TOPMOST

.

    WS_EX_RIGHT As Long = &H1000

.

    WS_EX_RIGHTSCROLLBAR As Long = &H0

.

    WS_EX_RTLREADING As Long = &H2000

.

    WS_EX_STATICEDGE As Long = &H20000

.

    WS_EX_TOOLWINDOW As Long = &H80

.

    WS_EX_TOPMOST As Long = &H8

.

    WS_EX_TRANSPARENT As Long = &H20

.

    WS_EX_WINDOWEDGE As Long = &H100

.

    WS_EX_ACCEPTFILES = 0x00000010,

.

    WS_EX_APPWINDOW = 0x00040000,

.

    WS_EX_CLIENTEDGE = 0x00000200,

.

    /// With WS_EX_COMPOSITED set, all descendants of a window get bottom-to-top painting order using double-buffering.

.

    /// but only if the descendent window also has the WS_EX_TRANSPARENT bit set.

.

    WS_EX_COMPOSITED = 0x02000000,

.

    /// WS_EX_CONTEXTHELP cannot be used with the WS_MAXIMIZEBOX or WS_MINIMIZEBOX styles.

.

    WS_EX_CONTEXTHELP = 0x00000400,

.

    WS_EX_CONTROLPARENT = 0x00010000,

.

    WS_EX_DLGMODALFRAME = 0x00000001,

.

    WS_EX_LAYERED = 0x00080000,

.

    WS_EX_LAYOUTRTL = 0x00400000,

.

    WS_EX_LEFT = 0x00000000,

.

    WS_EX_LEFTSCROLLBAR = 0x00004000,

.

    WS_EX_LTRREADING = 0x00000000,

.

    WS_EX_MDICHILD = 0x00000040,

.

    /// The window does not appear on the taskbar by default. To force the window to appear on the taskbar, use the WS_EX_APPWINDOW style.

.

    WS_EX_NOACTIVATE = 0x08000000,

.

    WS_EX_NOINHERITLAYOUT = 0x00100000,

.

    WS_EX_NOPARENTNOTIFY = 0x00000004,

.

    WS_EX_OVERLAPPEDWINDOW = WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE,

.

    WS_EX_PALETTEWINDOW = WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST,

.

    /// Using the WS_EX_RIGHT style has the same effect as using the SS_RIGHT (static), ES_RIGHT (edit), and BS_RIGHT/BS_RIGHTBUTTON (button) control styles.

.

    WS_EX_RIGHT = 0x00001000,

.

    WS_EX_RIGHTSCROLLBAR = 0x00000000,

.

    WS_EX_RTLREADING = 0x00002000,

.

    WS_EX_STATICEDGE = 0x00020000,

.

    WS_EX_TOOLWINDOW = 0x00000080,

.

    WS_EX_TOPMOST = 0x00000008,

.

    WS_EX_TRANSPARENT = 0x00000020,

.

    WS_EX_WINDOWEDGE = 0x00000100

.

    WS_EX_ACCEPTFILES = &H10

.

    WS_EX_APPWINDOW = &H40000

.

    WS_EX_CLIENTEDGE = &H200

.

    ''' With WS_EX_COMPOSITED set, all descendants of a window get bottom-to-top painting order using double-buffering.

.

    ''' but only if the descendent window also has the WS_EX_TRANSPARENT bit set.

.

    WS_EX_COMPOSITED = &H2000000

.

    ''' WS_EX_CONTEXTHELP cannot be used with the WS_MAXIMIZEBOX or WS_MINIMIZEBOX styles.

.

    WS_EX_CONTEXTHELP = &H400

.

    WS_EX_CONTROLPARENT = &H10000

.

    WS_EX_DLGMODALFRAME = &H1

.

    WS_EX_LAYERED = &H80000

.

    WS_EX_LAYOUTRTL = &H400000

.

    WS_EX_LEFT = &H0

.

    WS_EX_LEFTSCROLLBAR = &H4000

.

    WS_EX_LTRREADING = &H0

.

    WS_EX_MDICHILD = &H40

.

    ''' The window does not appear on the taskbar by default. To force the window to appear on the taskbar, use the WS_EX_APPWINDOW style.

.

    WS_EX_NOACTIVATE = &H8000000

.

    WS_EX_NOINHERITLAYOUT = &H100000

.

    WS_EX_NOPARENTNOTIFY = &H4

.

    WS_EX_OVERLAPPEDWINDOW = WS_EX_WINDOWEDGE Or WS_EX_CLIENTEDGE

.

    WS_EX_PALETTEWINDOW = WS_EX_WINDOWEDGE Or WS_EX_TOOLWINDOW Or WS_EX_TOPMOST

.

    ''' Using the WS_EX_RIGHT style has the same effect as using the SS_RIGHT (static), ES_RIGHT (edit), and BS_RIGHT/BS_RIGHTBUTTON (button) control styles.

.

    WS_EX_RIGHT = &H1000

.

    WS_EX_RIGHTSCROLLBAR = &H0

.

    WS_EX_RTLREADING = &H2000

.

    WS_EX_STATICEDGE = &H20000

.

    WS_EX_TOOLWINDOW = &H80

.

    WS_EX_TOPMOST = &H8

.

    WS_EX_TRANSPARENT = &H20

.

    WS_EX_WINDOWEDGE = &H100

.

    WS_EX_ACCEPTFILES As Long = &H10

.

    WS_EX_APPWINDOW  As Long = &H40000

.

    WS_EX_CLIENTEDGE As Long = &H200

.

    WS_EX_COMPOSITED As Long = &H2000000

.

    WS_EX_CONTEXTHELP As Long = &H400

.

    WS_EX_CONTROLPARENT As Long = &H10000

.

    WS_EX_DLGMODALFRAME As Long = &H1

.

    WS_EX_LAYERED As Long = &H80000

.

    WS_EX_LAYOUTRTL As Long = &H400000

.

    WS_EX_LEFT As Long = &H0

.

    WS_EX_LEFTSCROLLBAR As Long = &H4000

.

    WS_EX_LTRREADING As Long = &H0

.

    WS_EX_MDICHILD As Long = &H40

.

    WS_EX_NOACTIVATE As Long = &H8000000

.

    WS_EX_NOINHERITLAYOUT As Long = &H100000

.

    WS_EX_NOPARENTNOTIFY As Long = &H4

.

    WS_EX_OVERLAPPEDWINDOW As Long = WS_EX_WINDOWEDGE Or WS_EX_CLIENTEDGE

.

    WS_EX_PALETTEWINDOW As Long = WS_EX_WINDOWEDGE Or WS_EX_TOOLWINDOW Or WS_EX_TOPMOST

.

    WS_EX_RIGHT As Long = &H1000

.

    WS_EX_RIGHTSCROLLBAR As Long = &H0

.

    WS_EX_RTLREADING As Long = &H2000

.

    WS_EX_STATICEDGE As Long = &H20000

.

    WS_EX_TOOLWINDOW As Long = &H80

.

    WS_EX_TOPMOST As Long = &H8

.

    WS_EX_TRANSPARENT As Long = &H20

.

    WS_EX_WINDOWEDGE As Long = &H100

Structures

.

        IMAGE_SUBSYSTEM_WINDOWS_GUI = 2,

.

        IMAGE_SUBSYSTEM_WINDOWS_CUI = 3,

.

        IMAGE_SUBSYSTEM_WINDOWS_CE_GUI = 9,

.

    ''' IMAGE_SUBSYSTEM_WINDOWS_GUI  // Use the Windows GUI

.

    ''' IMAGE_SUBSYSTEM_WINDOWS_CUI  // Run as a console mode application

.

    ' IMAGE_SUBSYSTEM_WINDOWS_GUI (Use the Windows GUI)

.

    ' IMAGE_SUBSYSTEM_WINDOWS_CUI (Run as a console mode application.  When run, the OS creates a

.

    ' IMAGE_SUBSYSTEM_WINDOWS_GUI (Use the Windows GUI)

.

    ' IMAGE_SUBSYSTEM_WINDOWS_CUI (Run as a console mode application.  When run, the OS creates a

.

        IMAGE_SUBSYSTEM_WINDOWS_GUI = 2,

.

        IMAGE_SUBSYSTEM_WINDOWS_CUI = 3,

.

        IMAGE_SUBSYSTEM_WINDOWS_CE_GUI = 9,

ntdll

.

    ProcessWorkingSetWatch, // q: PROCESS_WS_WATCH_INFORMATION[]; s: void

.

    ProcessWorkingSetWatchEx, // q: PROCESS_WS_WATCH_INFORMATION_EX[]

user32

.

This function does not detect unowned pop-up windows or windows that do not have the WS_VISIBLE style bit set.

.

                    [MarshalAs(UnmanagedType.U4)] WINDOWS_STATION_ACCESS_MASK desiredAccess,

.

    internal enum WINDOWS_STATION_ACCESS_MASK : uint

.

                WINDOWS_STATION_ACCESS_MASK.WINSTA_ALL_ACCESS, null);

.

/// <para>If an overlapped window is created with the WS_VISIBLE style bit set and the x parameter is set to CW_USEDEFAULT, then the y parameter determines how the window is shown. If the y parameter is CW_USEDEFAULT, then the window manager calls ShowWindow with the SW_SHOW flag after the window has been created. If the y parameter is some other value, then the window manager calls ShowWindow with that value as the nCmdShow parameter.</para></param>

.

''' <para>If an overlapped window is created with the WS_VISIBLE style bit set and the x parameter is set to CW_USEDEFAULT, then the y parameter determines how the window is shown. If the y parameter is CW_USEDEFAULT, then the window manager calls ShowWindow with the SW_SHOW flag after the window has been created. If the y parameter is some other value, then the window manager calls ShowWindow with that value as the nCmdShow parameter.</para></param>

.

                WindowStylesEx.WS_EX_OVERLAPPEDWINDOW,

.

                WindowStyles.WS_OVERLAPPEDWINDOW, // window style

.

#define DFCS_INSMALL 0x0080 /* modifier for DFC_MENU as captionbtn for WS_EX_TOOLWINDOW */

.

    /// parent's WS_CLIPCHILDREN and CS_PARENTDC style bits are ignored. The origin is

.

///     information. For WS_VISIBLE information go to

.

///     window, and so forth, have the WS_VISIBLE style; otherwise, <c>false</c> or the return value is zero.

.

///     The visibility state of a window is indicated by the WS_VISIBLE[0x10000000L] style bit. When

.

///     WS_VISIBLE[0x10000000L] is set, the window is displayed and subsequent drawing into it is displayed as long as the

.

///     window has the WS_VISIBLE[0x10000000L] style. Any drawing to a window with the WS_VISIBLE[0x10000000L] style will

.

    public const int WS_EX_LAYERED = 0x80000;

.

        SetWindowLong(Handle, GWL_EXSTYLE, GetWindowLong(Handle, GWL_EXSTYLE) ^ WS_EX_LAYERED);

.

  Constant long WS_EX_LAYERED = 524288 //2^19

.

  //ll_Ret = ll_Ret Or WS_EX_LAYERED

.

  ll_Ret = lnc_N.of_bitwiseor( ll_Ret, WS_EX_LAYERED)

.

///     be sent to the specified window or control. If the control is a list box control created with the WS_CAPTION style,

iprop

17: !!!
.

6Ç!·!·ŠæiN³“‹Æk–îÊ~pàúX;§2‘øn}{T¬sÔ¦¸:8(üÅ´¢®0ý¯œjigm@*fVˆ.iÐýÕM$ÞõD®æ£ Õh8™k^®ö CBY°Ó‰(°Ûg‡ú—cƒ(rr‘gïÁh´K¬`vðZ0bçlí—½ŠcÄWE²˜ï£ÓšQә;„dwS_yŸEÌ[³±ïÝÙVþÎy\:=1­µ‡Žö3•«ÅªWDØÝAÀ^é&ð2j|%Hæ\|@Á6Óþiìôõb>G´¹é'Öþ½54¢Åze ZÁµçŽ e{³ÄU‹³ŒŠ¹D˜ÏgÊ3h?Š3 ª?Çæ_Vð!LPAÅEPV±’ÞŸf:¶ür9è3«ð@ŽˆH{š†±ÝZ¹óÄ£~ÃÏÈúä¹â éTûFލy7ãøÊ–³g“²· Þy•žšÖ&Ё¥ÚõÏêW۔PsMÚýO²ãN½UTÆ)»üUى|•Ò»“ñ@}…št›IƒvƒÑß þáP׊

msi

.

    private enum WINDOWS_MESSAGE_CODES

.

        WINDOWS_MESSAGE_CODES returnValue = (WINDOWS_MESSAGE_CODES)MsiOpenDatabase(path, persist, out msiHandle);

.

        if (returnValue != WINDOWS_MESSAGE_CODES.ERROR_SUCCESS)

.

            // If the returnValue error code is defined in the enum WINDOWS_MESSAGE_CODES, the exception message will show the enum code name; otherwise it will show the error number.

.

        returnValue = (WINDOWS_MESSAGE_CODES)MsiRecordSetString(msiRecord, (int)1, value);

.

        if (returnValue != WINDOWS_MESSAGE_CODES.ERROR_SUCCESS)

.

        returnValue = (WINDOWS_MESSAGE_CODES)MsiDatabaseOpenViewW(msiHandle, sql, out msiView);

.

        if (returnValue != WINDOWS_MESSAGE_CODES.ERROR_SUCCESS)

.

        returnValue = (WINDOWS_MESSAGE_CODES)MsiViewExecute(msiView, msiRecord);

.

        if (returnValue != WINDOWS_MESSAGE_CODES.ERROR_SUCCESS)

.

        returnValue = (WINDOWS_MESSAGE_CODES)MsiViewClose(msiView);

.

        if (returnValue == WINDOWS_MESSAGE_CODES.ERROR_SUCCESS) // note prior to 7/11/2010, this was != instead of ==, causing MSI to be inconsistent. Commit seems required. Edited by txcraig

.

            returnValue = (WINDOWS_MESSAGE_CODES)MsiDatabaseCommit(msiHandle);

.

            if (returnValue != WINDOWS_MESSAGE_CODES.ERROR_SUCCESS)

.

            if (returnValue != WINDOWS_MESSAGE_CODES.ERROR_SUCCESS)

Constants

.

        public const uint WS_OVERLAPPED       = 0x00000000;

.

        public const uint WS_POPUP        = 0x80000000;

.

        public const uint WS_CHILD        = 0x40000000;

.

        public const uint WS_MINIMIZE     = 0x20000000;

.

        public const uint WS_VISIBLE      = 0x10000000;

.

        public const uint WS_DISABLED     = 0x08000000;

.

        public const uint WS_CLIPSIBLINGS     = 0x04000000;

.

        public const uint WS_CLIPCHILDREN     = 0x02000000;

.

        public const uint WS_MAXIMIZE     = 0x01000000;

.

        public const uint WS_CAPTION      = 0x00C00000;     /* WS_BORDER | WS_DLGFRAME  */

.

        public const uint WS_BORDER       = 0x00800000;

.

        public const uint WS_DLGFRAME     = 0x00400000;

.

        public const uint WS_VSCROLL      = 0x00200000;

.

        public const uint WS_HSCROLL      = 0x00100000;

.

        public const uint WS_SYSMENU      = 0x00080000;

.

        public const uint WS_THICKFRAME       = 0x00040000;

.

        public const uint WS_GROUP        = 0x00020000;

.

        public const uint WS_TABSTOP      = 0x00010000;

.

        public const uint WS_MINIMIZEBOX      = 0x00020000;

.

        public const uint WS_MAXIMIZEBOX      = 0x00010000;

.

        public const uint WS_TILED        = WS_OVERLAPPED;

.

        public const uint WS_ICONIC       = WS_MINIMIZE;

.

        public const uint WS_SIZEBOX      = WS_THICKFRAME;

.

        public const uint WS_TILEDWINDOW      = WS_OVERLAPPEDWINDOW;

.

        public const uint WS_OVERLAPPEDWINDOW =

.

            ( WS_OVERLAPPED  |

.

              WS_CAPTION     |

.

              WS_SYSMENU     |

.

              WS_THICKFRAME  |

.

              WS_MINIMIZEBOX |

.

              WS_MAXIMIZEBOX );

.

        public const uint WS_POPUPWINDOW =

.

            ( WS_POPUP   |

.

              WS_BORDER  |

.

              WS_SYSMENU );

.

        public const uint WS_CHILDWINDOW = WS_CHILD;

.

        public const uint WS_EX_DLGMODALFRAME     = 0x00000001;

.

        public const uint WS_EX_NOPARENTNOTIFY    = 0x00000004;

.

        public const uint WS_EX_TOPMOST       = 0x00000008;

.

        public const uint WS_EX_ACCEPTFILES       = 0x00000010;

.

        public const uint WS_EX_TRANSPARENT       = 0x00000020;

.

        public const uint WS_EX_MDICHILD      = 0x00000040;

.

        public const uint WS_EX_TOOLWINDOW    = 0x00000080;

.

        public const uint WS_EX_WINDOWEDGE    = 0x00000100;

.

        public const uint WS_EX_CLIENTEDGE    = 0x00000200;

.

        public const uint WS_EX_CONTEXTHELP       = 0x00000400;

.

        public const uint WS_EX_RIGHT         = 0x00001000;

.

        public const uint WS_EX_LEFT          = 0x00000000;

.

        public const uint WS_EX_RTLREADING    = 0x00002000;

.

        public const uint WS_EX_LTRREADING    = 0x00000000;

.

        public const uint WS_EX_LEFTSCROLLBAR     = 0x00004000;

.

        public const uint WS_EX_RIGHTSCROLLBAR    = 0x00000000;

.

        public const uint WS_EX_CONTROLPARENT     = 0x00010000;

.

        public const uint WS_EX_STATICEDGE    = 0x00020000;

.

        public const uint WS_EX_APPWINDOW     = 0x00040000;

.

        public const uint WS_EX_OVERLAPPEDWINDOW  = (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE);

.

        public const uint WS_EX_PALETTEWINDOW     = (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST);

.

        public const uint WS_EX_LAYERED       = 0x00080000;

.

        public const uint WS_EX_NOINHERITLAYOUT   = 0x00100000; // Disable inheritence of mirroring by children

.

        public const uint WS_EX_LAYOUTRTL     = 0x00400000; // Right to left mirroring

.

        public const uint WS_EX_COMPOSITED    = 0x02000000;

.

        public const uint WS_EX_NOACTIVATE    = 0x08000000;

.

    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,

.

    WS_EX_DLGMODALFRAME    = 0x00000001,

.

    WS_EX_NOPARENTNOTIFY   = 0x00000004,

.

    WS_EX_TOPMOST      = 0x00000008,

.

    WS_EX_ACCEPTFILES      = 0x00000010,

.

    WS_EX_TRANSPARENT      = 0x00000020,

.

    WS_EX_MDICHILD     = 0x00000040,

.

    WS_EX_TOOLWINDOW       = 0x00000080,

.

    WS_EX_WINDOWEDGE       = 0x00000100,

.

    WS_EX_CLIENTEDGE       = 0x00000200,

.

    WS_EX_CONTEXTHELP      = 0x00000400,

.

    WS_EX_RIGHT        = 0x00001000,

.

    WS_EX_LEFT         = 0x00000000,

.

    WS_EX_RTLREADING       = 0x00002000,

.

    WS_EX_LTRREADING       = 0x00000000,

.

    WS_EX_LEFTSCROLLBAR    = 0x00004000,

.

    WS_EX_RIGHTSCROLLBAR   = 0x00000000,

.

    WS_EX_CONTROLPARENT    = 0x00010000,

.

    WS_EX_STATICEDGE       = 0x00020000,

.

    WS_EX_APPWINDOW    = 0x00040000,

.

    WS_EX_OVERLAPPEDWINDOW = (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE),

.

    WS_EX_PALETTEWINDOW    = (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST),

.

    WS_EX_LAYERED      = 0x00080000,

.

    WS_EX_NOINHERITLAYOUT  = 0x00100000, // Disable inheritence of mirroring by children

.

    WS_EX_LAYOUTRTL    = 0x00400000, // Right to left mirroring

.

    WS_EX_COMPOSITED       = 0x02000000,

.

    WS_EX_NOACTIVATE       = 0x08000000

.

  WS_OVERLAPPED = 0

.

  WS_POPUP = 2147483648

.

  WS_CHILD = 1073741824

.

  WS_MINIMIZE = 536870912

.

  WS_VISIBLE = 268435456

.

  WS_DISABLED = 134217728

.

  WS_CLIPSIBLINGS = 67108864

.

  WS_CLIPCHILDREN = 33554432

.

  WS_MAXIMIZE = 16777216

.

  WS_BORDER = 8388608

.

  WS_DLGFRAME = 4194304

.

  WS_VSCROLL = 2097152

.

  WS_HSCROLL = 1048576

.

  WS_SYSMENU = 524288

.

  WS_THICKFRAME = 262144

.

  WS_GROUP = 131072

.

  WS_TABSTOP = 65536

.

  WS_MINIMIZEBOX = 131072

.

  WS_MAXIMIZEBOX = 65536

.

  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

.

  WS_EX_DLGMODALFRAME = 1

.

  WS_EX_NOPARENTNOTIFY = 4

.

  WS_EX_TOPMOST = 8

.

  WS_EX_ACCEPTFILES = 16

.

  WS_EX_TRANSPARENT = 32

.

  WS_EX_MDICHILD = 64

.

  WS_EX_TOOLWINDOW = 128

.

  WS_EX_WINDOWEDGE = 256

.

  WS_EX_CLIENTEDGE = 512

.

  WS_EX_CONTEXTHELP = 1024

.

  WS_EX_RIGHT = 4096

.

  WS_EX_LEFT = 0

.

  WS_EX_RTLREADING = 8192

.

  WS_EX_LTRREADING = 0

.

  WS_EX_LEFTSCROLLBAR = 16384

.

  WS_EX_RIGHTSCROLLBAR = 0

.

  WS_EX_CONTROLPARENT = 65536

.

  WS_EX_STATICEDGE = 131072

.

  WS_EX_APPWINDOW = 262144

.

  WS_EX_OVERLAPPEDWINDOW = WS_EX_WINDOWEDGE Or WS_EX_CLIENTEDGE

.

  WS_EX_PALETTEWINDOW = WS_EX_WINDOWEDGE Or WS_EX_TOOLWINDOW Or WS_EX_TOPMOST

.

  WS_EX_LAYERED = 524288

.

  WS_EX_NOINHERITLAYOUT = 1048576 ' Disable inheritence of mirroring by children

.

  WS_EX_LAYOUTRTL = 4194304 ' Right to left mirroring

.

  WS_EX_COMPOSITED = 33554432

.

  WS_EX_NOACTIVATE = 67108864

.

        public const int SPAPI_E_NON_WINDOWS_NT_DRIVER = (int)(0x800F022D - 0x100000000);

.

        public const int SPAPI_E_NON_WINDOWS_DRIVER = (int)(0x800F022E - 0x100000000);

21: WM
.
WM_ENABLE 0xA The WM_ENABLE message is sent when an application changes the enabled state of a window. It is sent to the window whose enabled state is changing. This message is sent before the EnableWindow function returns, but after the enabled state (WS_DISABLED style bit) of the window has changed.

 
Access PInvoke.net directly from VS: