Re: Mouse X, Y
Posted by Ed on August 17, 2003 at 13:18:54:
In Reply to: Mouse X, Y posted by Joey on August 15, 2003 at 19:24:57:
: I have been using that handy tip for simulating a mouse press!
: I would just like to know how i find the current mouse x and mouse y positions relative to the screen :)
It's not easy to find using the Delphi online help, but there is a simple way (at least in Delphi 7):
Alternatively, there is
Write the word getcursorpos in a program source text and press F1 on it. In my case, help text on getcursorpos appeared.
[ DelphiLand: free Delphi source code, tips, tutorials ]