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

Mouse_Click

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_Poll
» Reason Codes
» Mouse_Click

Mouse_Click

(Reason Code 6)
Exit
Block
+0 Mouse x (screen co-ordinate)
+4 Mouse y (screen co-ordinate)
+8 Button value
+12 Window handle (-1 background, -2 icon bar)
+16 Icon handle (-1 workarea)

Use

This code is returned from Wimp_Poll and indicates that the value of the mouse buttons have changed, or the mouse operation matches the ‘button type’ of the window or icon.

Notes

If the mouse button has changed status over a window or icon, Wimp_Poll can only return this code if the Window Button Type or Icon Button Type is not set to 0.

Depending on the mouse operation being executed, a different button value will be returned.

See also

  • Icon Button Types
  • Reason Codes
  • Window Button Types
  • Wimp_Poll
Revised on June 17, 2009 21:58:37 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager The Icon Bar, The Window Manager Menus, The Window Manager Dragging, Poll Mask, DragAnObject_Start, Reason Codes

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