Table of Contents

Method EnumChildWindows

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

EnumChildWindows(IntPtr, EnumChildProc, IntPtr)

The EnumChildWindows function enumerates the child windows that belong to the specified parent window by passing the handle of each child window, in turn, to an application-defined callback function. EnumChildWindows continues until the last child window is enumerated or the callback function returns false.

public static bool EnumChildWindows(IntPtr hwndParent, EnumChildProc lpEnumFunc, IntPtr lparam)

Parameters

hwndParent IntPtr

Identifies the parent window whose child windows are to be enumerated.

lpEnumFunc EnumChildProc

Points to an application-defined callback function.

lparam IntPtr

Specifies a 32-bit, application-defined value to be passed to the callback function.

Returns

bool

True if succeed; otherwise false.