RISC OS Open

RISC OS  OPEN


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

Documentation: Wimp_GetPointerInfo

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

Wimp_GetPointerInfo

(SWI &400CF)

Entry
R1 Pointer to block

Exit
R0 Corrupt
Block
+0 Mouse x
+4 Mouse y
+8 Button State
+12 Window handle (-1 => background, -2 => icon bar)
+16 Icon Handle

Use

The purpose of this call is to return the state of the mouse during the previous Wimp_Poll.

Notes

As this call returns the pointer state during the previous Wimp_Poll, it is perfectly safe to use it after a long menu click delay to recreate the menu or as a means of dragging boxes.

See also

   .