need help for coding

i need a code for zooming a selected area in orthographic projection (visual c++). if anyone of you have an idea or code, please inform me.