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 must manipulate with modelview or/and perspective matrices for achive effect of zooming, and if you want split your view mentioned matrices will help as well and settings of viewport may be helpful here as well.