UtilUIAutomationSliceWindowPosition(IntPtr, Point) Method
Slices the position of 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 SliceWindowPosition(
IntPtr hWnd,
Point position
)
Public Shared Function SliceWindowPosition (
hWnd As IntPtr,
position As Point
) As Boolean
Dim hWnd As IntPtr
Dim position As Point
Dim returnValue As Boolean
returnValue = UtilUIAutomation.SliceWindowPosition(hWnd,
position)
public:
static bool SliceWindowPosition(
IntPtr hWnd,
Point position
)
static member SliceWindowPosition :
hWnd : IntPtr *
position : Point -> bool
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
A handle to the window.
- position Point
-
The new window position.
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
SliceWindowPosition(hWnd, New Point(+10, -100))
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.