Appearance
WindowHandle
Constructor
Type
public class WindowHandle { public WindowHandle(IntPtr hWnd); }
hWnd
Type
public class WindowHandle { public readonly IntPtr hWnd; }
- Details
Returns the hWnd of the window.
Title
Type
public class WindowHandle { public string Title { get; } }
Details
Returns the title of the window.
See also:
isActive
Type
public class WindowHandle { public bool isActive { get; } }
Details
Returns
true
if the window is currently the active, foreground window.See also:
GetWindowRectangle()
Type
public class WindowHandle { public System.Drawing.Rectangle GetWindowRectangle(); }
See also:
SetWindowPos()
Type
public class WindowHandle { public bool SetWindowPos(System.Drawing.Rectangle rect); }
See also:
ShowProperties()
Type
public class WindowHandle { public void ShowProperties(); }
Details
Shows properties of the window in the message box.
Resize()
Type
public class WindowHandle { public bool Resize(int widthOffset, int heightOffset); }
Details
Resizes the window relative to its current size.
ResizeTo()
Type
public class WindowHandle { public bool ResizeTo(int newWidth, int newHeight); }
Details
Resizes the window to a new width and height.
Move()
Type
public class WindowHandle { public bool Move(int xOffset, int yOffset); }
Details
Moves the window relative to its current position.
MoveTo()
Type
public class WindowHandle { public bool MoveTo(int newX, int newY); }
Details
Moves the window to new coordinates on the screen.