In a lot of graphics programs (even MS Draw has it) you are able to draw a rectangle, then click with the mouse inside that rectangle and select it, then move the rectangle, resize the rectangle... basically had full control over the rectangle. Has anyone done something like this before and is willing to share their code?