Styling help

Real API_Find_EnumChildWindows (Real Parent Window);

This function enumerates all child windows in a window.

Return value:
Returns true (1) on succes, or false (0) on failure.
Real API_Find_EnumThreadWindows (Real Thread ID);

This function enumerates all windows in a thread.

Return value:
Returns true (1) on succes, or false (0) on failure.
Real API_Find_EnumWindows ();

This function enumerates all top level windows.

Return value:
Returns true (1) on succes, or false (0) on failure.

Real API_Find_GetNumFound ();

This function returns the number of windows found by a previous call to API_Find_EnumChildWindows, API_Find_EnumThreadWindows or API_Find_EnumWindows.

Return value:
Returns true (1) when succesful, and false (0) when failed.


Real API_Find_GetFoundHandle (Real Zero Based Find Number);

This function returns a window handle, by using the find number, found by a previous call to API_Find_EnumChildWindows, API_Find_EnumThreadWindows or API_Find_EnumWindows.

For example, the first found file is 0, the second is 1, and go on ...

Return value:
Returns true (1) when succesful, and false (0) when failed.

Example code:

is
Num = API_Find_GetNumFound ();

Current = 0;

while (Current < Num)
{
Handle = API_Find_GetFoundHandle (Current); // Gets the window handle
Text = API_Window_GetText (Handle); // Gets the text of the child
Type = API_Window_GetClassName (Handle); // Gets the child type, like "Button" or "Static"

Current += 1;
}

Return to help index