UtilUIAutomationMoveWindow(IWin32Window, Screen) Method
Moves the specified window to the specified screen.
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(
IWin32Window window,
Screen scr
)
Public Shared Function MoveWindow (
window As IWin32Window,
scr As Screen
) As Boolean
Dim window As IWin32Window
Dim scr As Screen
Dim returnValue As Boolean
returnValue = UtilUIAutomation.MoveWindow(window,
scr)
public:
static bool MoveWindow(
IWin32Window^ window,
Screen^ scr
)
static member MoveWindow :
window : IWin32Window *
scr : Screen -> bool
No code example is currently available or this language may not be supported.
- window IWin32Window
-
The window.
- scr Screen
-
The target screen.
Boolean
if successful
;
otherwise.
This is a code example.
No code example is currently available or this language may not be supported.
Dim window As IWin32Window = NativeWindow.FromHandle(Process.GetProcessesByName("notepad").FirstOrDefault().MainWindowHandle)
Dim scr As Screen = Screen.AllScreens(1)
MoveWindow(window, scr)
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.