Partager via


Win32HelperMethods.FindChildWindowViaEnumChildWindows Method

Definition

Retrieves the handle of the child matching window via EnumChildWindows.

public:
 static IntPtr FindChildWindowViaEnumChildWindows(IntPtr hWndParent, int processId, int threadId, System::String ^ captionText, Microsoft::Uii::HostedApplicationToolkit::DataDrivenAdapter::FindWindowMatchType captionMatchType, System::String ^ classText, Microsoft::Uii::HostedApplicationToolkit::DataDrivenAdapter::FindWindowMatchType classMatchType, int matchCount, bool ignoreProcThread);
public static IntPtr FindChildWindowViaEnumChildWindows (IntPtr hWndParent, int processId, int threadId, string captionText, Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.FindWindowMatchType captionMatchType, string classText, Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.FindWindowMatchType classMatchType, int matchCount, bool ignoreProcThread);
static member FindChildWindowViaEnumChildWindows : nativeint * int * int * string * Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.FindWindowMatchType * string * Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.FindWindowMatchType * int * bool -> nativeint
Public Shared Function FindChildWindowViaEnumChildWindows (hWndParent As IntPtr, processId As Integer, threadId As Integer, captionText As String, captionMatchType As FindWindowMatchType, classText As String, classMatchType As FindWindowMatchType, matchCount As Integer, ignoreProcThread As Boolean) As IntPtr

Parameters

hWndParent
IntPtr

nativeint

Specifies the parent window.

processId
Int32

Specifies the process ID.

threadId
Int32

Specifies the thread ID.

captionText
String

Specifies the caption.

captionMatchType
FindWindowMatchType

Specifies the caption match type.

classText
String

Specifies the class text.

classMatchType
FindWindowMatchType

Specifies the match type.

matchCount
Int32

Specifies the total number of matches.

ignoreProcThread
Boolean

True to ignore processor thread, otherwise false.

Returns

IntPtr

nativeint

Applies to