h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » [[Wimp_Poll|Wimp_Poll]] h6(((. » [[Reason Codes|Reason Codes]] h6((((. » Mouse_Click h2. Mouse_Click h5. (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) | h4. Use This code is returned from [[Wimp_Poll|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. h4. Notes If the mouse button has changed status over a window or icon, Wimp_Poll can only return this code if the [[Window Button Types|Window Button Type]] or [[Icon Button Types|Icon Button Type]] is not set to 0. Depending on the mouse operation being executed, a different button value will be returned. h4. See also * [[Icon Button Types|Icon Button Types]] * [[Reason Codes|Reason Codes]] * [[Window Button Types|Window Button Types]] * [[Wimp_Poll|Wimp_Poll]]