_qres::Enumerate_Res_Child_Windows - Get All Child Windows for a Given Top Level Window
Syntax
call "_qres::Enumerate_Res_Child_Windows",reshandle,resource_id,child_list$,
status,errmsg$
Description
This routine returns a list of all child windows on a top-level window in a resource.
Parameter |
Description |
reshandle |
The handle that the target resource is opened on. |
resource_id |
The ID of a top level window on which to look for children. |
child_list$ |
Returns a string that contains a list of the child windows on the given top level window. Each window will have an entry that contains the window name, window ID (genealogy), context (always -1) for compatibility with Enumerate_Sysgui_Child_Windows, the HTA() of the window's event mask, and the HTA() of the window's flags, in the following format: |
status |
Returns 1 for successful operation and 0 for unsuccessful operation. |
errmsg$ |
Returns a description of the problems encountered. |
This routine does not check for enough memory to get the window information (RESINFO). An !ERROR=31 may result in cases where the window being evaluated is complex and contains many controls.