Provides basic Win32 window management services like searching ...etc.
Inheritance Hierarchy
ArtOfTest.Common.Win32WindowManager
Namespace: ArtOfTest.Common.Win32
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The WindowManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WindowManager |
Create a new window manager
|
Properties
Name | Description | |
---|---|---|
IEInstances | ||
Items |
Returns the collection of windows populated by a call to GetWindows()
| |
VisibleWindowsOnly |
Gets or sets whether to filter window to visible windows only.
Default is false.
|
Methods
Name | Description | |
---|---|---|
AppendWindows |
Append all child windows of the passed in parentHwnd to the current collection. (Items)
| |
CenterSize |
Calculate the correct point (x,y) for a specific size to be centered within a specific rectangle.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindWindowRecursively(IntPtr, String, Int32) |
Find a window recusively under the parent window.
Will return the first window that matches the class name.
| |
FindWindowRecursively(IntPtr, String, Boolean, Int32) |
Find a window recursively using its caption.
| |
FindWindowRecursively(IntPtr, String, Boolean, Int32, Int32) |
Find a window recursively using its caption.
| |
FindWindowsRecursively |
Finds all windows of a given class under the parent window.
| |
GetActiveScreen |
Returns the active screen the user is using.
| |
GetAllWindows |
Populate the Items collection with all windows associated with this process including
child windows of each.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetProcessDialogFrameWindows | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWindows |
Populate the Items collection with all top level windows.
| |
GetWindows(Process) |
Populate the Items collection with all non-child windows associated with this process.
| |
GetWindows(IntPtr) |
Populate the Items collection with all child windows of the parent window passed in (Recursive)
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RecommendSize |
Recommend the actual size of the window to use.
| |
TileWindows |
Tiles two windows
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also