ph_findwindowex PowerHome formula function
Description
Finds a child window of a currently running parent window.
Syntax
ph_findwindowex ( n, n, n, s, n )
Argument |
Description |
n
|
The handle of the parent window.
|
n
|
The handle at which to start searching for child windows. Normally, set this value to 0.
|
n
|
The instance of the desired child window. A parent window may have multiple matching child windows for the specified criteria. This parameter determines which instance is returned. Use 0 for the first matching child window, 1 for the second matching child window, etc.
|
s
|
The title or classname of the child window you wish to retrieve the handle of.
|
n
|
An integer representing the type of find window to be performed. Use a 0 if you wish to search using the classname of the child window. Use a 1 if you wish to search using the title of the child window.
|
Return value
Long. Returns the handle of the child window if found.