How to to draw the outline of a rectangle in a window as I drag the mouse (edited)