Making a scalable "grow box"

I’d like to setup a MC, where I can have a small button area in the bottom right corner to proportionally scale the MC. just liek you can do to any windows in the Mac OS. The thing is I need to constrain the scale proportionally so the drag has to go at a 45º angle. I’ve seen tutorials about scaling, but nothing exactlly like this.

Any suggestions?