ItEv_SetCurPos 

Use

Positions the cursor to a specific row and column anywhere on the screen.

Syntax

DWORD DLEX ItEv_SetCurPos(PIT_EVENT pEvt, int row, int col);

Parameters

pEvt

Pointer to the IT_EVENT structure

row

Row number for the new cursor position, in character coordinates

col

Column number for the new cursor position, in character coordinates

Return Value

Returns TRUE on success.

Comments

It is usually more convenient to use ItEv_SetCurPosByCtrl, which positions the cursor to the top left corner of a given control. ItEv_SetCurPos provides the flexibility to position elsewhere on the screen if needed, but placing the cursor not on a control does not have any meaning.

See Also

ItEv_SetCurPosByCtrl.