Showing changes from revision #4 to #5:
Added | Removed | Changed
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) |
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.
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.