ItEv_SetCurPosByCtrl 

Use

Positions the cursor to the top left corner of the control.

Use it, for example, to position the cursor over a push button (followed by an It_SendReturn), or over a matchcode (followed by an It_SendPFKeyID(pEvt, "Save").

Syntax

DWORD DLEX ItEv_SetCurPosByCtrl(PIT_EVENT pEvt, ITCCTRL pCtrl);

Parameters

pEvt

Pointer to the IT_EVENT structure

pCtrl

Refer to Specifying controls

Return Value

Returns TRUE on success.

Comments

No effect if the control specified by pCtrl is not found.

See Also

ItEv_FindControl, ItEv_SetCurPos.