Mouse position: Difference between revisions
Content added Content deleted
(fixed language tags) |
(Added BBC BASIC) |
||
Line 83: | Line 83: | ||
Traytip, Mouse position, x: %x%`ny: %y%`rWindow: %WinTitle%, 4 ; Displays the info as a Traytip for 4 seconds |
Traytip, Mouse position, x: %x%`ny: %y%`rWindow: %WinTitle%, 4 ; Displays the info as a Traytip for 4 seconds |
||
return</lang> |
return</lang> |
||
=={{header|BBC BASIC}}== |
|||
The mouse coordinates are relative to the bottom-left corner of the BBC BASIC main output window: |
|||
<lang bbcbasic> MOUSE xmouse%, ymouse%, buttons% |
|||
PRINT xmouse%, ymouse%</lang> |
|||
=={{header|C}}== |
=={{header|C}}== |