Mouse location on the desktop

BlitzMax Forums/MaxGUI Module/Mouse location on the desktop

Shagwana(Posted 2008) [#1]
How can I get the location of the mouse on the desktop in a maxgui app (svn build 53). Don't seem that mousex() and mousey() work.

I presume I will need to query some winapi thing. Any hints people?


tonyg(Posted 2008) [#2]
DesktopExtension 1.13 is good.


Shagwana(Posted 2008) [#3]
that would be ideal, ta


Angus(Posted 2011) [#4]
Sorry to bring this back from the dead, but...

Is there a way of doing this? The link given above offers modules for an older version of BMax than I'm using.

Surely it can't be too hard? (!?)


d-bug(Posted 2011) [#5]
You can use it anyway. There was a namespace conflict with BM1.39+ which I had removed from the module and uploaded it again right after, but I hadn't changed the side. :S

Since DesktopExtension Version 1.18 it is compatible again.

Last edited 2011


Angus(Posted 2011) [#6]
TY for this! Will give it a go.


Angus(Posted 2011) [#7]
And it works well too, thanks.