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 "SWP" in [All]

user32

.

If any of the windows in the multiple-window- position structure have the SWP_HIDEWINDOW or SWP_SHOWWINDOW flag set, none of the windows are repositioned.

.

    SWP_DRAWFRAME = 0x0020,

.

    SWP_FRAMECHANGED = 0x0020,

.

    SWP_HIDEWINDOW = 0x0080,

.

    SWP_NOACTIVATE = 0x0010,

.

    SWP_NOCOPYBITS = 0x0100,

.

    SWP_NOMOVE = 0x0002,

.

    SWP_NOOWNERZORDER = 0x0200,

.

    SWP_NOREDRAW = 0x0008,

.

    ///<Summary>Same as the SWP_NOOWNERZORDER flag.</Summary>

.

    SWP_NOREPOSITION = 0x0200,

.

    SWP_NOSENDCHANGING = 0x0400,

.

    SWP_NOSIZE = 0x0001,

.

    SWP_NOZORDER = 0x0004,

.

    SWP_SHOWWINDOW = 0x0040

.

    SWP_DRAWFRAME = &H0020

.

    SWP_FRAMECHANGED = &H0020

.

    SWP_HIDEWINDOW = &H0080

.

    SWP_NOACTIVATE = &H0010

.

    SWP_NOCOPYBITS = &H0100

.

    SWP_NOMOVE = &H0002

.

    SWP_NOOWNERZORDER = &H0200

.

    SWP_NOREDRAW = &H0008

.

    '''<Summary>Same as the SWP_NOOWNERZORDER flag.</Summary>

.

    SWP_NOREPOSITION = &H0200

.

    SWP_NOSENDCHANGING = &H0400

.

    SWP_NOSIZE = &H0001

.

    SWP_NOZORDER = &H0004

.

    SWP_SHOWWINDOW = &H0040

.

    SWP_DRAWFRAME As Integer = &H0020

.

    SWP_FRAMECHANGED As Integer = &H0020

.

    SWP_HIDEWINDOW As Integer = &H0080

.

    SWP_NOACTIVATE As Integer = &H0010

.

    SWP_NOCOPYBITS As Integer = &H0100

.

    SWP_NOMOVE As Integer = &H0002

.

    SWP_NOOWNERZORDER As Integer = &H0200

.

    SWP_NOREDRAW As Integer = &H0008

.

    SWP_NOREPOSITION As Integer = &H0200

.

    SWP_NOSENDCHANGING As Integer = &H0400

.

    SWP_NOSIZE As Integer = &H0001

.

    SWP_NOZORDER As Integer = &H0004

.

    SWP_SHOWWINDOW As Integer = &H0040

.

    ///         <term>SWP_ASYNCWINDOWPOS (0x4000)</term>

.

    ///         <term>SWP_DEFERERASE (0x2000)</term>

.

    ///         <term>SWP_DRAWFRAME (0x0020)</term>

.

    ///         <term>SWP_FRAMECHANGED (0x0020)</term>

.

    ///         <term>SWP_HIDEWINDOW (0x0080)</term><description>Hides the window.</description>

.

    ///         <term>SWP_NOACTIVATE (0x0010)</term>

.

    ///         <term>SWP_NOCOPYBITS (0x0100)</term>

.

    ///         <term>SWP_NOMOVE (0x0002)</term>

.

    ///         <term>SWP_NOOWNERZORDER (0x0200)</term>

.

    ///         <term>SWP_NOREDRAW (0x0008)</term>

.

    ///         <term>SWP_NOREPOSITION (0x0200)</term><description>Same as the SWP_NOOWNERZORDER flag.</description>

.

    ///         <term>SWP_NOSENDCHANGING (0x0400)</term>

.

    ///         <term>SWP_NOSIZE (0x0001)</term>

.

    ///         <term>SWP_NOZORDER (0x0004)</term>

.

    ///         <term>SWP_SHOWWINDOW (0x0040)</term><description>Displays the window.</description>

.

    ///     take effect. Use the following combination for uFlags: SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER |

.

    ///     SWP_FRAMECHANGED.

.

    ///     ensuring that the SWP_NOZORDER flag is not set, or by setting a window's position in the Z order so that it is

.

    ///     If neither the SWP_NOACTIVATE nor SWP_NOZORDER flag is specified (that is, when the application requests that

.

public static class SWP

.

        SWP_ASYNCWINDOWPOS = 0x4000,

.

        SWP_DEFERERASE = 0x2000,

.

        SWP_DRAWFRAME = 0x0020,

.

        SWP_FRAMECHANGED = 0x0020,

.

        SWP_HIDEWINDOW = 0x0080,

.

        SWP_NOACTIVATE = 0x0010,

.

        SWP_NOCOPYBITS = 0x0100,

.

        SWP_NOMOVE = 0x0002,

.

        SWP_NOOWNERZORDER = 0x0200,

.

        SWP_NOREDRAW = 0x0008,

.

        ///     Same as the SWP_NOOWNERZORDER flag.

.

        SWP_NOREPOSITION = 0x0200,

.

        SWP_NOSENDCHANGING = 0x0400,

.

        SWP_NOSIZE = 0x0001,

.

        SWP_NOZORDER = 0x0004,

.

        SWP_SHOWWINDOW = 0x0040,

.

             SetWindowPosFlags.SWP_SHOWWINDOW);

msvcrt

.

static extern int swprintf(

.

swprintf(buffer, "Greetings from thread %d\n", __arglist(Thread.CurrentThread.ManagedThreadId));

Constants

5: SW
.

const UInt32 SWP_NOSIZE      =0x0001;

.

const UInt32 SWP_NOMOVE      =0x0002;

.

const UInt32 SWP_NOZORDER    =0x0004;

.

const UInt32 SWP_NOREDRAW    =0x0008;

.

const UInt32 SWP_NOACTIVATE      =0x0010;

.

const UInt32 SWP_FRAMECHANGED    =0x0020;

.

const UInt32 SWP_SHOWWINDOW      =0x0040;

.

const UInt32 SWP_HIDEWINDOW      =0x0080;

.

const UInt32 SWP_NOCOPYBITS      =0x0100;

.

const UInt32 SWP_NOOWNERZORDER   =0x0200;

.

const UInt32 SWP_NOSENDCHANGING  =0x0400;

.

const UInt32 SWP_DRAWFRAME       =SWP_FRAMECHANGED;

.

const UInt32 SWP_NOREPOSITION    =SWP_NOOWNERZORDER;

.

const UInt32 SWP_DEFERERASE      =0x2000;

.

const UInt32 SWP_ASYNCWINDOWPOS  =0x4000;

.

    Const SWP_NOSIZE As Integer = &H1

.

    Const SWP_NOMOVE As Integer = &H2

.

    Const SWP_NOZORDER As Integer = &H4

.

    Const SWP_NOREDRAW As Integer = &H8

.

    Const SWP_NOACTIVATE As Integer = &H10

.

    Const SWP_FRAMECHANGED As Integer = &H20

.

    Const SWP_SHOWWINDOW As Integer = &H40

.

    Const SWP_HIDEWINDOW As Integer = &H80

.

    Const SWP_NOCOPYBITS As Integer = &H100

.

    Const SWP_NOOWNERZORDER As Integer = &H200

.

    Const SWP_NOSENDCHANGING As Integer = &H400

.

    Const SWP_DRAWFRAME As Integer = SWP_FRAMECHANGED

.

    Const SWP_NOREPOSITION As Integer = SWP_NOOWNERZORDER

.

    Const SWP_DEFERERASE As Integer = &H2000

.

    Const SWP_ASYNCWINDOWPOS As Integer = &H4000

6: SWP
.

const UInt32 SWP_NOSIZE      =0x0001;

.

const UInt32 SWP_NOMOVE      =0x0002;

.

const UInt32 SWP_NOZORDER    =0x0004;

.

const UInt32 SWP_NOREDRAW    =0x0008;

.

const UInt32 SWP_NOACTIVATE      =0x0010;

.

const UInt32 SWP_FRAMECHANGED    =0x0020;

.

const UInt32 SWP_SHOWWINDOW      =0x0040;

.

const UInt32 SWP_HIDEWINDOW      =0x0080;

.

const UInt32 SWP_NOCOPYBITS      =0x0100;

.

const UInt32 SWP_NOOWNERZORDER   =0x0200;

.

const UInt32 SWP_NOSENDCHANGING  =0x0400;

.

const UInt32 SWP_DRAWFRAME       =SWP_FRAMECHANGED;

.

const UInt32 SWP_NOREPOSITION    =SWP_NOOWNERZORDER;

.

const UInt32 SWP_DEFERERASE      =0x2000;

.

const UInt32 SWP_ASYNCWINDOWPOS  =0x4000;

Enums

.

    SWP_DRAWFRAME = 0x0020,

.

    SWP_FRAMECHANGED = 0x0020,

.

    SWP_HIDEWINDOW = 0x0080,

.

    SWP_NOACTIVATE = 0x0010,

.

    SWP_NOCOPYBITS = 0x0100,

.

    SWP_NOMOVE = 0x0002,

.

    SWP_NOOWNERZORDER = 0x0200,

.

    SWP_NOREDRAW = 0x0008,

.

    ///<Summary>Same as the SWP_NOOWNERZORDER flag.</Summary>

.

    SWP_NOREPOSITION = 0x0200,

.

    SWP_NOSENDCHANGING = 0x0400,

.

    SWP_NOSIZE = 0x0001,

.

    SWP_NOZORDER = 0x0004,

.

    SWP_SHOWWINDOW = 0x0040

.

    SWP_DRAWFRAME = &H0020

.

    SWP_FRAMECHANGED = &H0020

.

    SWP_HIDEWINDOW = &H0080

.

    SWP_NOACTIVATE = &H0010

.

    SWP_NOCOPYBITS = &H0100

.

    SWP_NOMOVE = &H0002

.

    SWP_NOOWNERZORDER = &H0200

.

    SWP_NOREDRAW = &H0008

.

    '''<Summary>Same as the SWP_NOOWNERZORDER flag.</Summary>

.

    SWP_NOREPOSITION = &H0200

.

    SWP_NOSENDCHANGING = &H0400

.

    SWP_NOSIZE = &H0001

.

    SWP_NOZORDER = &H0004

.

    SWP_SHOWWINDOW = &H0040

.

    SWP_DRAWFRAME As Integer = &H0020

.

    SWP_FRAMECHANGED As Integer = &H0020

.

    SWP_HIDEWINDOW As Integer = &H0080

.

    SWP_NOACTIVATE As Integer = &H0010

.

    SWP_NOCOPYBITS As Integer = &H0100

.

    SWP_NOMOVE As Integer = &H0002

.

    SWP_NOOWNERZORDER As Integer = &H0200

.

    SWP_NOREDRAW As Integer = &H0008

.

    SWP_NOREPOSITION As Integer = &H0200

.

    SWP_NOSENDCHANGING As Integer = &H0400

.

    SWP_NOSIZE As Integer = &H0001

.

    SWP_NOZORDER As Integer = &H0004

.

    SWP_SHOWWINDOW As Integer = &H0040

.

    /// <remarks>SWP_ASYNCWINDOWPOS</remarks>

.

    /// <remarks>SWP_DEFERERASE</remarks>

.

    /// <remarks>SWP_DRAWFRAME</remarks>

.

    /// <remarks>SWP_FRAMECHANGED</remarks>

.

    /// <remarks>SWP_HIDEWINDOW</remarks>

.

    /// <remarks>SWP_NOACTIVATE</remarks>

.

    /// <remarks>SWP_NOCOPYBITS</remarks>

.

    /// <remarks>SWP_NOMOVE</remarks>

.

    /// <remarks>SWP_NOOWNERZORDER</remarks>

.

    /// <remarks>SWP_NOREDRAW</remarks>

.

    /// <summary>Same as the SWP_NOOWNERZORDER flag.</summary>

.

    /// <remarks>SWP_NOREPOSITION</remarks>

.

    /// <remarks>SWP_NOSENDCHANGING</remarks>

.

    /// <remarks>SWP_NOSIZE</remarks>

.

    /// <remarks>SWP_NOZORDER</remarks>

.

    /// <remarks>SWP_SHOWWINDOW</remarks>

.

    ''' <remarks>SWP_ASYNCWINDOWPOS</remarks>

.

    ''' <remarks>SWP_DEFERERASE</remarks>

.

    ''' <remarks>SWP_DRAWFRAME</remarks>

.

    ''' <remarks>SWP_FRAMECHANGED</remarks>

.

    ''' <remarks>SWP_HIDEWINDOW</remarks>

.

    ''' <remarks>SWP_NOACTIVATE</remarks>

.

    ''' <remarks>SWP_NOCOPYBITS</remarks>

.

    ''' <remarks>SWP_NOMOVE</remarks>

.

    ''' <remarks>SWP_NOOWNERZORDER</remarks>

.

    ''' <remarks>SWP_NOREDRAW</remarks>

.

    ''' <summary>Same as the SWP_NOOWNERZORDER flag.</summary>

.

    ''' <remarks>SWP_NOREPOSITION</remarks>

.

    ''' <remarks>SWP_NOSENDCHANGING</remarks>

.

    ''' <remarks>SWP_NOSIZE</remarks>

.

    ''' <remarks>SWP_NOZORDER</remarks>

.

    ''' <remarks>SWP_SHOWWINDOW</remarks>

.
Documentation
[SWP] on MSDN
9: SWP
.

   public enum SWP : uint

coredll

.

    public const int SWP_ASYNCWINDOWPOS = 0x4000;

.

    public const int SWP_DEFERERASE = 0x2000;

.

    public const int SWP_DRAWFRAME = 0x0020;

.

    public const int SWP_FRAMECHANGED = 0x0020;

.

    public const int SWP_HIDEWINDOW = 0x0080;

.

    public const int SWP_NOACTIVATE = 0x0010;

.

    public const int SWP_NOCOPYBITS = 0x0100;

.

    public const int SWP_NOMOVE = 0x0002;

.

    public const int SWP_NOOWNERZORDER = 0x0200;

.

    public const int SWP_NOREDRAW = 0x0008;

.

    public const int SWP_NOREPOSITION = 0x0200;

.

    public const int SWP_NOSENDCHANGING = 0x0400;

.

    public const int SWP_NOSIZE = 0x0001;

.

    public const int SWP_NOZORDER = 0x0004;

.

    public const int SWP_SHOWWINDOW = 0x0040;

.

    Public Const SWP_NOSIZE As Integer = &H1

.

    Public Const SWP_NOMOVE As Integer = &H2

.

    Public Const SWP_NOZORDER As Integer = &H4

.

    Public Const SWP_NOREDRAW As Integer = &H8

.

    Public Const SWP_NOACTIVATE As Integer = &H10

.

    Public Const SWP_DRAWFRAME As Integer = &H20

.

    Public Const SWP_FRAMECHANGED As Integer = &H20

.

    Public Const SWP_SHOWWINDOW As Integer = &H40

.

    Public Const SWP_HIDEWINDOW As Integer = &H80

.

    Public Const SWP_NOCOPYBITS As Integer = &H100

.

    Public Const SWP_NOOWNERZORDER As Integer = &H200

.

    Public Const SWP_NOREPOSITION As Integer = &H200

.

    Public Const SWP_NOSENDCHANGING As Integer = &H400

.

    Public Const SWP_DEFERERASE As Integer = &H2000

.

    Public Const SWP_ASYNCWINDOWPOS As Integer = &H4000

.

Check the SWP definition on Enums.

.

            SetWindowPos(handle, 0, 0, 0, 0, 0, SWP_HIDEWINDOW);

.

            SetWindowPos(handle, 0, 0, 0, 240, 26, SWP_SHOWWINDOW);

.

Check the SWP definition on Enums.

.

    public const int SWP_ASYNCWINDOWPOS = 0x4000;

.

    public const int SWP_DEFERERASE = 0x2000;

.

    public const int SWP_DRAWFRAME = 0x0020;

.

    public const int SWP_FRAMECHANGED = 0x0020;

.

    public const int SWP_HIDEWINDOW = 0x0080;

.

    public const int SWP_NOACTIVATE = 0x0010;

.

    public const int SWP_NOCOPYBITS = 0x0100;

.

    public const int SWP_NOMOVE = 0x0002;

.

    public const int SWP_NOOWNERZORDER = 0x0200;

.

    public const int SWP_NOREDRAW = 0x0008;

.

    public const int SWP_NOREPOSITION = 0x0200;

.

    public const int SWP_NOSENDCHANGING = 0x0400;

.

    public const int SWP_NOSIZE = 0x0001;

.

    public const int SWP_NOZORDER = 0x0004;

.

    public const int SWP_SHOWWINDOW = 0x0040;

.

    Public Const SWP_NOSIZE As Integer = &H1

.

    Public Const SWP_NOMOVE As Integer = &H2

.

    Public Const SWP_NOZORDER As Integer = &H4

.

    Public Const SWP_NOREDRAW As Integer = &H8

.

    Public Const SWP_NOACTIVATE As Integer = &H10

.

    Public Const SWP_DRAWFRAME As Integer = &H20

.

    Public Const SWP_FRAMECHANGED As Integer = &H20

.

    Public Const SWP_SHOWWINDOW As Integer = &H40

.

    Public Const SWP_HIDEWINDOW As Integer = &H80

.

    Public Const SWP_NOCOPYBITS As Integer = &H100

.

    Public Const SWP_NOOWNERZORDER As Integer = &H200

.

    Public Const SWP_NOREPOSITION As Integer = &H200

.

    Public Const SWP_NOSENDCHANGING As Integer = &H400

.

    Public Const SWP_DEFERERASE As Integer = &H2000

.

    Public Const SWP_ASYNCWINDOWPOS As Integer = &H4000

.

            SetWindowPos(handle, 0, 0, 0, 0, 0, SWP_HIDEWINDOW);

.

            SetWindowPos(handle, 0, 0, 0, 240, 26, SWP_SHOWWINDOW);

.

        /// <remarks>SWP_ASYNCWINDOWPOS</remarks>

.

        /// <remarks>SWP_DEFERERASE</remarks>

.

        /// <remarks>SWP_DRAWFRAME</remarks>

.

        /// <remarks>SWP_FRAMECHANGED</remarks>

.

        /// <remarks>SWP_HIDEWINDOW</remarks>

.

        /// <remarks>SWP_NOACTIVATE</remarks>

.

        /// <remarks>SWP_NOCOPYBITS</remarks>

.

        /// <remarks>SWP_NOMOVE</remarks>

.

        /// <remarks>SWP_NOOWNERZORDER</remarks>

.

        /// <remarks>SWP_NOREDRAW</remarks>

.

        /// <summary>Same as the SWP_NOOWNERZORDER flag.</summary>

.

        /// <remarks>SWP_NOREPOSITION</remarks>

.

        /// <remarks>SWP_NOSENDCHANGING</remarks>

.

        /// <remarks>SWP_NOSIZE</remarks>

.

        /// <remarks>SWP_NOZORDER</remarks>

.

        /// <remarks>SWP_SHOWWINDOW</remarks>


 
Access PInvoke.net directly from VS: