Table of Contents

Interface IShellWindow

Namespace
HP.LFT.SDK.SAP.NWBC
Assembly
HP.LFT.SDK.dll

A shell window in a SAP NWBC application.

public interface IShellWindow : IUIObjectBase, ISupportsNativeObject, ILocationInfoProvider, IClickable, IDoubleClickable, ISupportDragAndDrop, ISupportSendKeys, IEnabledProvider, IVisibleProvider, ITopLevelObject, ITestObject, ITestObjectDescriber
Inherited Members
Extension Methods

Properties

IsModal

Indicates whether the window is modal.

bool IsModal { get; }

Property Value

bool

WindowState

The current window state. Possible values: WindowState.

WindowState WindowState { get; }

Property Value

WindowState

Methods

Activate()

Activates the window.

void Activate()

Activate(MouseButton)

Activates the window using the specified mouse button.

void Activate(MouseButton button)

Parameters

button MouseButton

The mouse button used to click the window.

Close()

Closes this window.

void Close()

ClosePage(int)

Closes a tab page.

void ClosePage(int index)

Parameters

index int

The index of the tab page to close, starting from 1.

ClosePage(string)

Closes a tab page.

void ClosePage(string name)

Parameters

name string

The name of the tab page to close.

Maximize()

Maximizes this window to fill the screen.

void Maximize()

Minimize()

Minimizes this window to an icon.

void Minimize()

Move(Point)

Moves this window to the specified absolute location on the screen.

void Move(Point point)

Parameters

point Point

Absolute pixel location (X, Y) on the screen.

Move(int, int)

Moves this window to the specified absolute location on the screen.

void Move(int x, int y)

Parameters

x int

The X coordinate in pixels.

y int

The Y coordinate in pixels.

Resize(Size)

Resizes this window to the specified dimensions.

void Resize(Size size)

Parameters

size Size

The new size in pixels.

Resize(int, int)

Resizes this window to the specified dimensions.

void Resize(int width, int height)

Parameters

width int

The new width in pixels.

height int

The new height in pixels.

Restore()

Restores this window to its previous size.

void Restore()