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

Reason Codes

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

Reason Codes

The following tables provides the Event/Reason codes that may be returned by Wimp_Poll:

Code
0 Null_Reason
1 Redraw_Window_Request
2 Open_Window_Request
3 Close_Window_Request
4 Pointer_Leaving_Window
5 Pointer_Entering_Window
6 Mouse_Click
7 User_Drag_Box
8 Key_Pressed
9 Menu_Selection
10 Scroll_Request
11 Lose_Caret
12 Gain_Caret
13 PollWord_NonZero
14 Reserved
15 Reserved
16 Reserved
17 User_Message
18 User_Message_Recorded
19 User_Message_Acknowledge

Priority of Reason Codes

Highest 17 – 19
… 1 – 6, 8, 9
… 7, 10 – 13
Lowest 0

See also

  • Wimp_Poll
  • Wimp_PollIdle
Revised on March 17, 2011 16:21:31 by Andrew Hodgkinson (6) (86.5.162.99)
Edit | Back in time (7 revisions) | See changes | History | Views: Print | Source | Linked from: Wimp_Poll, Poll Mask, Null_Reason, Redraw_Window_Request, Open_Window_Request, Close_Window_Request, Pointer_Leaving_Window, Pointer_Entering_Window, Mouse_Click, User_Drag_Box, Key_Pressed, Wimp Managed Key Presses, Character Codes, Menu_Selection, Scroll_Request, Scroll Directions, Lose_Caret, Gain_Caret, User_Message, User_Message_Recorded, User_Message_Acknowledge, Wimp_PollIdle, Wimp_ProcessKey, Wimp_SendMessage, Wimp_SetCaretPosition, PollWord_NonZero

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