h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_GetCaretPosition h2. Wimp_GetCaretPosition h5. (SWI &400D3) |_<. Entry | | |<. R1 |Pointer to block | |_<. Exit | | |R0 |Corrupt | |block +0 |Window handle, or -1 if none | |>. +4 |Icon handle, or -1 if none | |>. +8|X offset | |>. +12 |Y offset | |>. +16 |[[Caret Flags|Caret Flags]], or -1 if not displayed | |>. +20 |Index into string, or -1 if writeable icon | h4. Use The purpose of this call is to return information relating to the caret. h4. Notes The index value returned is a byte index, and not a character index. Therefore, there is only a distinction when the system alphabet is UTF8. h4. See also * [[Wimp_SetCaretPosition|Wimp_SetCaretPosition]]