WebCam Send comments on this topic.
SetWindowPos Method
See Also 
Masslets.WebCam Namespace > API32 Class : SetWindowPos Method




hWnd
hWndInsertAfter
x
y
cx
cy
wFlags

Syntax

Visual Basic (Declaration) 
<DllImportAttribute("User32.dll")>
<PreserveSigAttribute()>
Public Shared Function SetWindowPos( _
   ByVal hWnd As IntPtr, _
   ByVal hWndInsertAfter As Integer, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal cx As Integer, _
   ByVal cy As Integer, _
   ByVal wFlags As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim hWnd As IntPtr
Dim hWndInsertAfter As Integer
Dim x As Integer
Dim y As Integer
Dim cx As Integer
Dim cy As Integer
Dim wFlags As Integer
Dim value As Integer
 
value = API32.SetWindowPos(hWnd, hWndInsertAfter, x, y, cx, cy, wFlags)
C# 
[DllImportAttribute("User32.dll")]
[PreserveSigAttribute()]
public static int SetWindowPos( 
   IntPtr hWnd,
   int hWndInsertAfter,
   int x,
   int y,
   int cx,
   int cy,
   int wFlags
)
Managed Extensions for C++ 
[DllImportAttribute("User32.dll")]
[PreserveSigAttribute()]
public: static int SetWindowPos( 
   IntPtr hWnd,
   int hWndInsertAfter,
   int x,
   int y,
   int cx,
   int cy,
   int wFlags
) 
C++/CLI 
[DllImportAttribute("User32.dll")]
[PreserveSigAttribute()]
public:
static int SetWindowPos( 
   IntPtr hWnd,
   int hWndInsertAfter,
   int x,
   int y,
   int cx,
   int cy,
   int wFlags
) 

Parameters

hWnd
hWndInsertAfter
x
y
cx
cy
wFlags

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2008 All Rights Reserved.