Compartir a través de


NativeMethods.MoveWindow Method

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim hWnd As IntPtr
Dim left As Integer
Dim top As Integer
Dim nWidth As Integer
Dim nHeight As Integer
Dim bRepaint As Boolean
Dim returnValue As Integer

returnValue = NativeMethods.MoveWindow(hWnd, left, top, nWidth, nHeight, bRepaint)

Syntax

'Declaration
Public Shared Function MoveWindow ( _
    hWnd As IntPtr, _
    left As Integer, _
    top As Integer, _
    nWidth As Integer, _
    nHeight As Integer, _
    bRepaint As Boolean _
) As Integer
public static int MoveWindow (
    IntPtr hWnd,
    int left,
    int top,
    int nWidth,
    int nHeight,
    bool bRepaint
)
public:
static int MoveWindow (
    IntPtr hWnd, 
    int left, 
    int top, 
    int nWidth, 
    int nHeight, 
    bool bRepaint
)
public static int MoveWindow (
    IntPtr hWnd, 
    int left, 
    int top, 
    int nWidth, 
    int nHeight, 
    boolean bRepaint
)
public static function MoveWindow (
    hWnd : IntPtr, 
    left : int, 
    top : int, 
    nWidth : int, 
    nHeight : int, 
    bRepaint : boolean
) : int

Parameters

  • hWnd
  • left
  • top
  • nWidth
  • nHeight
  • bRepaint

Return Value

Type: Int32

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

NativeMethods Class
NativeMethods Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.