UtilUIAutomationResizeWindow(IntPtr, Size) Method
Resizes 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 ResizeWindow(
IntPtr hWnd,
Size size
)
Public Shared Function ResizeWindow (
hWnd As IntPtr,
size As Size
) As Boolean
Dim hWnd As IntPtr
Dim size As Size
Dim returnValue As Boolean
returnValue = UtilUIAutomation.ResizeWindow(hWnd,
size)
public:
static bool ResizeWindow(
IntPtr hWnd,
Size size
)
static member ResizeWindow :
hWnd : IntPtr *
size : Size -> bool
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
A handle to the window.
- size Size
-
The new window size.
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
ResizeWindow(hWnd, New Size(640, 480))
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.