code help

how can i zoom a portion of a opengl window and i want to display the zoomed portion in the same window(splitting view) but in different place.
please anyone help me to solve this problem.

thanks in advance,

You can use glViewport to setup more then one view of your scene and then it is just a question of setting up the modelview matrix for each view.