PDA

View Full Version : How to get the mouse's position



sophister
30th April 2009, 05:27
Hi 2 all:
I want to know how can we get the mouse's position or even point (ie, x and y) outside the geometry of my application on the desktop??
thanks!!

aamer4yu
30th April 2009, 05:41
You can search the forum..
There was this recent thread (http://www.qtcentre.org/forum/f-qt-programming-2/t-how-to-get-mouse-click-events-outside-the-qt-window-20642.html) on the forum.

sophister
30th April 2009, 06:07
Thank you.
One more question, do you know how to show the window when mouse enter a spefified rectangle, while hide it when the mouse leave that rectangle?