IMoveable Interface

Description

Interface for objects that can be moved, e.g. windows.

Syntax

'Declaration
Public Class IMoveable

Properties

Name Description
WindowState The state of a window. Values include: 1=minimized, 2=maximized, 3=restored

Methods

Name Description
Close Closes the window.
CloseSynchron Closes the window and waits until the window is closed.
GetCloseWindows Returns the windows that need to be closed in order so that only the main window of the application is open.
GetFocus Returns the object with the input focus.
GetNextCloseWindow Returns the next window that need to be closed in order to close all windows of the application except the main window.
IsActive Returns whether the window is set to active.
Maximize Maximizes the window.
Minimize Reduces the window to an icon.
Move Moves the window.
Restore Restores the window to its previous size.
SetActive Makes the window active.
Size Resizes the window.