|
-
Apr 9th, 2000, 03:19 PM
#1
Thread Starter
Junior Member
Hi
How to know the position of the mouse (i.e.,X and Y position ) , while moving the Mouse ( remmeber that button should be ( left button or right button ) downed ) ??
Pl. repsond immediately .
Bye
Sanju
-
Apr 9th, 2000, 06:14 PM
#2
Junior Member
The form has a MouseMove property (for while the mouse is moving) and a MouseDown property (for when a button is clicked). These expose X and Y coordinates as well as button and shift. Otherwise, you can use the GetCursorPos API call, if your form is hidden, for X and Y co-ordinates.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|