AD
Administrator
Syncfusion Team
June 23, 2004 07:31 AM UTC
You can always get the coordinates of the mouse using the static (Shared in VB) member Control.MousePosition. The point that is returned is in screen coordinates, so if you want them in grid coordinates, you have to use the PointToClient method.
Point pt = this.grid.PointToClient(Control.MousePosition);