Windows API

ID #1010

How to know current position of mouse cursor? Do not offer MOUSEX.

MAP
MODULE('api')
GetCursorPos(ULONG _PointPtr),BYTE,PASCAL,PROC
END
END
! Data section
TPoint         GROUP,TYPE
X                LONG
Y                LONG
END
Point          GROUP(TPoint).
! In code section
GetCursorPos(ADDRESS(Point))

Tags: MOUSEX, mouse position

Related entries:

Last update: 2007-07-16 16:38
Author: Aleksey Timkov
Revision: 1.0

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You can comment on this entry