Use
Finds a control on the screen.
You can find a control by its name, by its value name (the name of the control that contains the value of the field), or by its index (a zero-based index of the control in the list of the controls on the screen). See the topic of
specifying control parameter for the ItEV_Find* functions.Syntax
DWORD DLEX ItEv_FindControl(PIT_EVENT pEvt, ITCCTRL *pCtrl,
Parameters
pEvt |
Pointer to the IT_EVENT structure |
pCtrl |
A string identifying the control to find. Refer to Specifying control for how to specify the control parameter. |
flags |
Flags that determine how to search for the control. For example, it allows you to specify where to start the search for the control and in which direction. Refer to Specifying control flags. |
Return Value
Returns the 0-based index of the found control on the screen, or -1 if no control is found.