Here we go again with another installment of “How the hell do I fix this?!”
I’ve got meself an ActiveX control, OpenGL-ized and all. Okay, I wrote it myself, so thats why it doesn’t work right. The problem that I have is that - well, using ActiveX you’ve gotta think, its going to be multi-window. You’ll have a window here, you’ll have a window there… etc.
Well, I’ve gotten most everything working right, except one teensy weensy little snag. The aspect ratio of the viewport is all screwed up. Here’s the crux:
Imaging two windows on the screen, both displaying a crossed axis, 90 degree angles. You send a “refresh” through the container application to reload the data in the ActiveX controls. Now, one (or two, or more) of the controls have an incorrect aspect ratio, ie: the crossed axis now contains an angle of something like 70 degrees rather than 90.
I know it has to be something to do with active DC’s and such, but I’ve tried everything I could think of to compensate for it.