RISC OS Open

RISC OS  OPEN


A fast and easily customised operating system for devices using ARM processor cores.

Documentation: Wimp_GetCaretPosition

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_GetCaretPosition

Wimp_GetCaretPosition

(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, or -1 if not displayed
+20 Index into string, or -1 if writeable icon

Use

The purpose of this call is to return information relating to the caret.

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.

See also

   .