CMDIChildWnd maintain a given frame aspect ratio.
Posted on 2001-06-14
I have a MDI that opens various CMDIChildWnd at the same time. My question is this: Each CMDIChildWnd must maintain a given aspect ratio. If I change the size cx, I want cy to move automatically to maintain the set aspect ratio. If I change the cy I also want cx to also maintain the set aspect ratio. All suggestions welcome and code samples greatly appreciated.