UtilUIAutomationWaitForChildWindow(IntPtr, String, String, TimeSpan) Method
Waits the specified amount of time for a child window to be shown in the screen,
whose class name and window title matches the specified parameters.
Namespace: DevCase.Core.Diagnostics.ProcessesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IntPtr WaitForChildWindow(
IntPtr parentWindow,
string className,
string title,
TimeSpan timeout
)
Public Shared Function WaitForChildWindow (
parentWindow As IntPtr,
className As String,
title As String,
timeout As TimeSpan
) As IntPtr
Dim parentWindow As IntPtr
Dim className As String
Dim title As String
Dim timeout As TimeSpan
Dim returnValue As IntPtr
returnValue = UtilUIAutomation.WaitForChildWindow(parentWindow,
className, title, timeout)
public:
static IntPtr WaitForChildWindow(
IntPtr parentWindow,
String^ className,
String^ title,
TimeSpan timeout
)
static member WaitForChildWindow :
parentWindow : IntPtr *
className : string *
title : string *
timeout : TimeSpan -> IntPtr
No code example is currently available or this language may not be supported.
- parentWindow IntPtr
-
A handle to the parent window.
- className String
-
The window class name.
- title String
-
The window title. This value can be String.
- timeout TimeSpan
-
The timeout interval, in milliseconds.
IntPtr
A handle to the child window whose class name and window name matches the specified parameters.
Returns
Zero if the window is not found between the specified timeout interval.