* R0 = Window handle
R1 = Icon handle
R2 = Number of chars into the string to place the caret at.
* R2 = Number of chars into the string the caret was set at
Not re-entrant.
Set the caret to the given icon at a specified position into the displayed string.
If R2 on entry is larger than the number of characters the icon contains at the moment the call is made, it will be adjusted to be to the right of the last character in the icon.
You can use this feature to position the caret at the end of the icons contents by giving a non-sensible value in R2 on entry, like -1.
Basic example
SYS "ddu_SetCaret",Window,Icon,-1
|
|
|