Mouse position: Difference between revisions

m
(→‎{{header|Oz}}: Added PureBasic)
Line 237:
<lang PureBasic>x = WindowMouseX(#MyWindow)
y = WindowMouseY(#MyWindow)</lang>
ExampleThis example repeatedly shows the mouse coordinates relative to the window created in the application.
<lang PureBasic>#MyWindow = 0
#Label_txt = 0
Anonymous user