Struct WOwner
Used with wnd.find and similar functions to specify an owner of the window.
Can be program name (like "notepad.exe"
), process id (WOwner.Process), thread id (WOwner.Thread or WOwner.ThisThread), owner window.
public struct WOwner
Namespace: Au.Types
Assembly: Au.dll
Properties
Name | Description |
---|---|
IsEmpty | Returns |
ThisThread | Thread id of this thread. |
Methods
Name | Description |
---|---|
GetValue(out wildex, out int, out int, out wnd) | Gets program name or process id or thread id or owner window.
Other variables will be |
Process(int) | Process id. See wnd.ProcessId. |
Thread(int) | Thread id. See wnd.ThreadId. |
Operators
Name | Description |
---|---|
implicit operator WOwner(wnd) | Owner window. See wnd.getwnd.Owner. Will use wnd.IsOwnedBy with level 2. |
implicit operator WOwner(string) | Program name like |