AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry
     R0 -> sprite name in the Wimp sprite pool, or 0 to reset pointer
     If R0 >= &8000 :
     R2 = hotspot X
     R3 = hotspot Y

Stores the old pointer palette, and changes the pointer palette and shape to the sprite specified in R0 (palette optional).  The hotspot is defined by the X and Y coordinates (pixels) in R2 and R3.  If R0 is <&8000 then it will reset the pointer to its original state.  You dont need to check if the pointer is already reset or changed as WimpExtension will do this for you.  Note that the pointer will keep changed until you specifically ask for it to be reset, or there is a mode change - ie. pointer changes over icons will be suspended, and the pointer will remain changed outside your windows workarea.

Provided by Pointer

[sh-index] Back to list of manuals