UtilUIAutomationMoveWindow(IntPtr, Point) Method
Moves the specified window.
Namespace: DevCase.Core.Diagnostics.ProcessesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool MoveWindow(
IntPtr hWnd,
Point location
)
Public Shared Function MoveWindow (
hWnd As IntPtr,
location As Point
) As Boolean
Dim hWnd As IntPtr
Dim location As Point
Dim returnValue As Boolean
returnValue = UtilUIAutomation.MoveWindow(hWnd,
location)
public:
static bool MoveWindow(
IntPtr hWnd,
Point location
)
static member MoveWindow :
hWnd : IntPtr *
location : Point -> bool
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
A handle to the window.
- location Point
-
The new window location.
Boolean
if successful
;
otherwise.
This is a code example.
No code example is currently available or this language may not be supported.
Dim hWnd as IntPtr = Process.GetProcessesByName("notepad").FirstOrDefault().MainWindowHandle
MoveWindow(hWnd, New Point(0, 0))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.