| 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 |
|---|---|
| |
| 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
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