RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

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

  • Wimp_Poll
Created on June 6, 2009 23:02:15 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Window Manager SWI Calls, The Window Manager The Icon Bar, The Window Manager Icons, Wimp_CreateMenu, Extra Window Flags, Button State, Icon Handle, Close_Window_Request, User_Drag_Box, Menu_Selection, Message_DataSave, OS_Mouse

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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