Note: This API is now obsolete.
Drop-in P/Invoke replacement for IntPtr window handle.
Includes implicit typecasts for IntPtr, System.Windows.Window, and System.Windows.Forms.Control.
This class performs no caching; all property accesses translate to immediate Win32 function calls,
and failed calls will throw exceptions (unlike the P/Invoke entry points themselves).
Namespace: ArtOfTest.Common.Win32
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
[ObsoleteAttribute("Deprecated. Please use Telerik.TestStudio.Core.Win32.HWND instead.")] public struct HWND
The HWND type exposes the following members.
Properties
Name | Description | |
---|---|---|
Children | ||
ClassName | ||
Descendants | ||
HINSTANCE |
This is useful because some frameworks store their DLL instance handle here, allowing you to loosely identify the framework that is managing the window.
| |
Id | ||
IsEnabled | ||
IsNull | ||
IsWindow | ||
Owner | ||
Parent | ||
ProcessId | ||
Root | ||
RootOwner | ||
Text | ||
ThreadId | ||
WindowRect |
Gets or sets the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the screen origin.
|
Methods
Name | Description | |
---|---|---|
Equals | (Overrides ValueTypeEquals(Object).) | |
GetHashCode | (Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToInt32 | ||
ToString | (Overrides ValueTypeToString.) | |
ToString(String) |
Operators
Fields
Name | Description | |
---|---|---|
HWND_BOTTOM | ||
HWND_BROADCAST | ||
HWND_MESSAGE | ||
HWND_NOTOPMOST | ||
HWND_TOP | ||
HWND_TOPMOST | ||
NULL |
See Also