Selection Area and zoom

Hi,

I have a GJAnimCanvas that displays simple different boxes … the user must drag a selection area with the mouse and then it must automatically zoom to the part choosed…

Do you know how I could make such a thing…

Thanks in advance
regards

Mat