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
Printable View
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
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.