Nevron.Interop.Win32 Namespace / NUser32 Class / SetWindowPos Method


SetWindowPos Method
Syntax
'Declaration
 
Public Shared Function SetWindowPos( _
   ByVal hWnd As System.IntPtr, _
   ByVal hwndAfter As System.IntPtr, _
   ByVal x As System.Integer, _
   ByVal y As System.Integer, _
   ByVal width As System.Integer, _
   ByVal height As System.Integer, _
   ByVal flags As System.Integer _
) As System.Boolean
 
'Usage
 
Dim hWnd As System.IntPtr
Dim hwndAfter As System.IntPtr
Dim x As System.Integer
Dim y As System.Integer
Dim width As System.Integer
Dim height As System.Integer
Dim flags As System.Integer
Dim value As System.Boolean
 
value = NUser32.SetWindowPos(hWnd, hwndAfter, x, y, width, height, flags)

Parameters

hWnd
hwndAfter
x
y
width
height
flags
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also