Interface IWindow
- Namespace
- HP.LFT.SDK.PowerBuilder
- Assembly
- HP.LFT.SDK.dll
A PowerBuilder window.
public interface IWindow : IUiObjectWithLayoutInfo, IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITopLevelObject, ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Properties
HasBorder
Indicates whether the window has a thin-line border.
bool HasBorder { get; }
Property Value
HasCaption
Indicates whether the window has a title bar.
bool HasCaption { get; }
Property Value
HasSizebox
Indicates whether the window has a sizing border.
bool HasSizebox { get; }
Property Value
HasSystemMenu
Indicates whether the window has a window menu on its title bar.
bool HasSystemMenu { get; }
Property Value
IsActive
Indicates whether the window is the foreground object (currently active).
bool IsActive { get; }
Property Value
IsChildWindow
Indicates whether the window is a child window.
bool IsChildWindow { get; }
Property Value
IsMaximizable
Indicates whether the window can be maximized.
bool IsMaximizable { get; }
Property Value
IsMdiChildWindow
Indicates whether the window is a multiple-document interface (MDI) child window.
bool IsMdiChildWindow { get; }
Property Value
IsMinimizable
Indicates whether the window can be minimized.
bool IsMinimizable { get; }
Property Value
IsOwnedWindow
Indicates whether the window has an owner window.
bool IsOwnedWindow { get; }
Property Value
IsPopupWindow
Indicates whether the window is a pop-up window.
bool IsPopupWindow { get; }
Property Value
IsToolWindow
Indicates whether the window is a tool window (a floating toolbar).
bool IsToolWindow { get; }
Property Value
IsTopmost
Indicates whether the window is placed above all non-topmost windows and remains in place, even when the object is deactivated.
bool IsTopmost { get; }
Property Value
WindowState
The current window state. Possible values: WindowState.
WindowState WindowState { get; }
Property Value
Methods
Activate()
Activates the window.
void Activate()
Activate(MouseButton)
Activates the window using the specified mouse button.
void Activate(MouseButton button)
Parameters
buttonMouseButtonThe mouse button used to click the window. Possible values: MouseButton.
Close()
Closes the window.
void Close()
Maximize()
Maximizes the window to fill the entire screen.
void Maximize()
Minimize()
Minimizes the window to an icon.
void Minimize()
Move(Point)
Moves the window to the specified absolute location on the screen with a Point object.
void Move(Point point)
Parameters
pointPointAbsolute pixel location (X,Y) on the screen
Move(int, int)
Moves the window to the specified absolute location on the screen with X,Y coordinates.
void Move(int x, int y)
Parameters
Resize(Size)
Resizes the window to the specified Size.
void Resize(Size size)
Parameters
sizeSizeThe size to resize to (in pixels).
Resize(int, int)
Resizes the window to the specified dimensions by width and height values.
void Resize(int width, int height)
Parameters
Restore()
Restores the window to its previous size.
void Restore()