SoFunction
Updated on 2025-04-12

Easy Language Enumeration All Sub-Window Explanation

In Easy Language Development, sometimes you want to directly obtain information about all controls under the window from a window. You can start with the API you know about Windows, but the lean module has this function.

Window_Enum all child windows()

Three parameters:

1. Want to find the window handle of the control

2. All child window handle arrays found

3. Query control class name

For the first two parameters, I believe everyone knows that the first is the handle of the window, and the second is the array of the handle (this is the returned array).

As for the third parameter, the poster is just like everyone else. He is a little confused at first sight and doesn’t know where to start, such as what is the class name of the edit box control? What is the class name of the tag control? Here is a good way to let everyone know the class names of these controls

as follows

The above function has found all handles of the child control

Then you just need to print the corresponding class name of the handle in turn and you will know. Window_Class name (handle [1])

The following control class name

Edit – Edit box

Afx:47c0000:b:10005:1900015:0——Tag

Button - Button

_EL_HyperLinker—HyperLink

_EL_PicBox——PicBox