Is it possible to get current of mouse position out of GUI scope?

1 Ansicht (letzte 30 Tage)
Ara
Ara am 7 Aug. 2014
Bearbeitet: Ara am 7 Aug. 2014
I want to find position of mouse in anywhere of screen. I only got position x,y in GUI boundary.
Is it possible to do it? and how to do?
Thank you :))

Akzeptierte Antwort

Friedrich
Friedrich am 7 Aug. 2014
Hi,
try
>> get(0,'PointerLocation')
  2 Kommentare
Ara
Ara am 7 Aug. 2014
May I ask you one more question? It cannot point or click mouse when I use this code with GUI. How to fix it?
thank you

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by