UtilUIAutomationEnumerateChildWindows(IntPtr) Method
Enumerates the child windows of the specified window.
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 IEnumerable<WindowInfo> EnumerateChildWindows(
IntPtr hWnd
)
Public Shared Function EnumerateChildWindows (
hWnd As IntPtr
) As IEnumerable(Of WindowInfo)
Dim hWnd As IntPtr
Dim returnValue As IEnumerable(Of WindowInfo)
returnValue = UtilUIAutomation.EnumerateChildWindows(hWnd)
public:
static IEnumerable<WindowInfo^>^ EnumerateChildWindows(
IntPtr hWnd
)
static member EnumerateChildWindows :
hWnd : IntPtr -> IEnumerable<WindowInfo>
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
A handle to the window.
IEnumerableWindowInfo
The child windows of the specified window.
This is a code example.
No code example is currently available or this language may not be supported.
Dim hWnd As IntPtr = Process.GetCurrentProcess().MainWindowHandle
Dim childWindows As IEnumerable(Of WindowInfo) = EnumerateChildWindows(hWnd)
For Each child As WindowInfo In childWindows
Console.WriteLine("HWND: {0}, CLASS: {1}, TEXT: {2}", child.Hwnd.ToInt32(), child.ClassName, child.Text)
Next child
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.