Nevron .NET Vision
Nevron.Interop.Win32 Namespace / NUser32 Class / MoveWindow Method


In This Topic
    MoveWindow Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function MoveWindow( _
       ByVal hWnd As System.IntPtr, _
       ByVal x As System.Integer, _
       ByVal y As System.Integer, _
       ByVal width As System.Integer, _
       ByVal height As System.Integer, _
       ByVal bRepaint As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim hWnd As System.IntPtr
    Dim x As System.Integer
    Dim y As System.Integer
    Dim width As System.Integer
    Dim height As System.Integer
    Dim bRepaint As System.Boolean
    Dim value As System.Boolean
     
    value = NUser32.MoveWindow(hWnd, x, y, width, height, bRepaint)
    public static System.bool MoveWindow( 
       System.IntPtr hWnd,
       System.int x,
       System.int y,
       System.int width,
       System.int height,
       System.bool bRepaint
    )

    Parameters

    hWnd
    x
    y
    width
    height
    bRepaint
    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