UtilUIAutomationEnumerateChildWindows(SafeHandle) 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(
SafeHandle hWnd
)
Public Shared Function EnumerateChildWindows (
hWnd As SafeHandle
) As IEnumerable(Of WindowInfo)
Dim hWnd As SafeHandle
Dim returnValue As IEnumerable(Of WindowInfo)
returnValue = UtilUIAutomation.EnumerateChildWindows(hWnd)
public:
static IEnumerable<WindowInfo^>^ EnumerateChildWindows(
SafeHandle^ hWnd
)
static member EnumerateChildWindows :
hWnd : SafeHandle -> IEnumerable<WindowInfo>
No code example is currently available or this language may not be supported.
- hWnd SafeHandle
-
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 safeHandle As New SafeWindowHandle(Process.GetCurrentProcess().MainWindowHandle)
Dim childWindows As IEnumerable(Of WindowInfo) = EnumerateChildWindows(safeHandle)
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.