Click to See Complete Forum and Search --> : Mouse enter event


Vaderman
October 22nd, 2004, 05:16 AM
Is there any way where I can get the coordinate points when the mouse enters a specific area of a form?

I've got already have the following signature :
MouseEnter(object sender, System.EventArgs e)

But from this I can't see any way of getting the mouse coordinates.

any help would be appreciated.

Regards

John

Norfy
October 22nd, 2004, 06:17 AM
You could always use the MouseMove event instead.

If not, "Cursor.Position" will give you a point in screen coordinates, and Control.PointToClient() will convert this to control coordinates.