Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are the scaling factors for Location X, Location Y, Width and Height?

factors height location scaling y
0
Posted

What are the scaling factors for Location X, Location Y, Width and Height?

0

In Windows Form resources if you try to keep the same width and height for controls or dialogs, you will find they will look smaller than they look in Visual studio 6.0. To make the controls and dialogs have a similar size in .NET, it is necessary to multiply the height and width by a scaling factor and also necessary to move the control’s X and Y location by multiplying them with another scaling factor. The result will be a similar looking UI as in MFC or ATL.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123