RISC OS Open

RISC OS  OPEN


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

Documentation: Window Button Types

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_CreateWindow
» Window Block
» Window Button Types

Window Button Types


Value Meaning
0 Ignore all clicks
1 Notify task continually, while pointer is over the work area
2 Click (auto-repeat)
3 Click (once per click)
4 Release over the work area
5 Double click
6 Click (once per click), but can also drag (returns button state *16)
7 Release over the work area, but can also drag (returns button state *16)
8 Double click, but can also drag (returns button state *16)
9 Click (once per click)
10 Click (*256), Drag (*16), Double click (*1)
11 Click (*256), Drag (*16)
12 Reserved. Do not use
13 Reserved. Do not use
14 Reserved. Do not use
15 Window to gain the input focus


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

See also

   .