SKAN
Joined: 26 Dec 2005 Posts: 5895
|
Posted: Sun Jul 06, 2008 7:17 pm Post subject: |
|
|
You may use a Timer to constantly update your GUI:
| Code: | CoordMode, Mouse, Screen
Gui, Add, Text, w100 h25, Mouse Position`t:
Gui, Add, Text, x+5 wp hp vMPos
Gui, Show
SetTimer, MouseGetPos, 10
Return
MouseGetPos:
MouseGetPos, X, Y
GuiControl,, MPos, % "X=" X ", Y=" Y
Return |
 _________________ SKAN - Suresh Kumar A N |
|