Win32HelperMethods.FindChildWindowViaEnumChildWindows Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
nativeint