Tom,Tom wrote:By the way: Scaling the app is a user option in our applications. If this is set, there is only one factor calculated. Since the app layout is based on 1024 x 768, the factor is calculated using DC_GetWorkArea(). If the width is higher than 1024, like 1400, the width factor would be 1.37. If the height is only 900, which creates the factor 1.17, this factor is used (first 4 parameters) - and vice versa. This creates a perfectly scaled app, while setting different factors for width and height may create something really ugly.
The scalefactor is set only once, using DC_GetOptDefault().
We've been using scaling for years, but it's been problematical at times...
Can you show us a bit of code to illustrate what your are referring to...
When you scale, are you limiting the rescaling to maintain that aspect ratio ?
How are you accomplishing that ??
looking forward to seeing you at the end of the month...