RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Wimp_GetPointerInfo

WindowManager
» 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

  • Wimp_Poll
Revised on December 9, 2013 15:19:44 by Jeffrey Lee (213) (91.84.11.161)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: WindowManager The Icon Bar, WindowManager SWI Calls, WindowManager Icons, Extra Window Flags, WindowManager Applications And Documents, Wimp_CreateMenu, User_Drag_Box, Button State, Icon Handle, Close_Window_Request, Menu_Selection, Message_DataSave, OS_Mouse

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys