Dialog Controls not drawing with correct aspect ratio in Visual Studio 6.0 C++:
Posted on 2010-11-22
I'm using VC6.0. When I put some controls on a dialog (such as buttons, listboxes, etc), I want them to be square in shape. For example, 40 x 40. While using the resource editor, in the very bottom right corner of Visual Studio, the size of my selected controls displays. But even when the numbers say 40 x 40, the control itself draws as a rectangle, being taller than it is wide. This even happens in design time. So the control that I want to be 40 x 40 is drawn as if it's actually about 30 x 40.
Any idea why this occurs, or how to fix this (other than simply figuring out the "scale" and adjusting the size of my controls accordingly?
Thanks a bunch.