RISC OS Open

RISC OS  OPEN


A fast and easily customised operating system for devices using ARM processor cores.

Documentation: Icon Button Type (Version #5)

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls

Icon Button Types


Value Meaning
0 Ignore all clicks (except menus)
1 Notify task continually, while pointer is over icon
2 Click (auto-repeat)
3 Click (once per click)
4 Click selects, move away de-selects. Notify of release
5 Click selects. Notify of Double click
6 Click (once per click). Notify of drag (returns button state *16)
7 Click selects. Notify of release. Notify of drag (returns button state *16)
8 Click selects. Notify of Double click. Notify of drag (returns button state *16)
9 Menu icon
10 Click (*256), Drag (*16), Double click (*1)
11 Click selects (*1), Drag (*16)
12 Reserved. Do not use
13 Reserved. Do not use
14 Click causes icon to gain caret. Can also drag
15 Click causes icon to gain caret


Bits 12-13 are used to represent the Icon Button Types.

See also

   .