glOrtho aspect ratio question?

I have noticed in certain cad appz that no matter if you resize the window the actual drawing keeps it’s size and dimension’s how do I recreate this?

Thanx in Advance

[This message has been edited by ironduke (edited 09-10-2000).]

simple… if the windows is 500 pixels wide and 100 pixels tall map it to -250,250 -50,50 instead of using your older ratio…

key idea is that keep the ratio of the window and the ratio of the co ordinates you are mapping to same…