DeferWindowPos (user32)
Last changed: -93.17.31.230

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern IntPtr DeferWindowPos(IntPtr hWinPosInfo, IntPtr hWnd,
   IntPtr hWndInsertAfter, int x, int y, int cx, int cy, [MarshalAs(UnmanagedType.U4)]DeferWindowPosCommands uFlags);

VB.NET Signature:

<DllImport("user32.dll", SetLastError:=True)> _
Public Function DeferWindowPos(hWinPosInfo As IntPtr, _
                   hWnd As IntPtr, _
                   hWndInsertAfter As IntPtr, _
                   x As Integer, _
                   y As Integer, _
                   cx As Integer, _
                   cy As Integer, _
                   <MarshalAs(UnmanagedType.U4)>uFlags As DeferWindowPosCommands) As IntPtr
End Function

VB Signature:

Public Declare Function DeferWindowPos Lib "user32" _
         (ByVal hWinPosInfo As Long, _
          ByVal hWnd As Long, _
          ByVal hWndInsertAfter As Long, _
          ByVal X As Long, _
          ByVal Y As Long, _
          ByVal cx As Long, _
          ByVal cy As Long, _
          ByVal wFlags As DeferWindowPosCommands) As Long

User-Defined Types:

DeferWindowPosCommands

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation