I have this in the MouseDrag event of the window...
These are all properties of the window
MousedownXD as integer
MousedownXU as integer
MousedownYD as integer
MousedownYU as integer
MousePositionX as integer
MousePositionY as integer
MousePositionX = X
MousePositionY = Y
Graphics.DrawRect(MousedownXD, MousedownYD, MousePositionX-MousedownXD, MousePositionY-MousedownYD)
But as I drag the mouse the array of rectangles are are drawn from mousedown to the position of the mouse.