How to zoom into rectangle?

So I see people in YT tutorials draw rectangles that then enlarge and will fill out the screen. I dont mean to just zoom in but to select aeria on screen (draw a rectangle) and then zoom so that this rectangle fill out the screen. Is there some program to do this or is there some recording program hotkey that I have missed (I am using Fraps pro).