CompuServe Messages

#ScaleLeft/Top Errors

    16-Oct-91 11:58:16
Fm: Ted M. Young 76703,4343
To: George Campbell 71571,222
George, When you change any of the ScaleLeft/Top/Width/Height, the ScaleMode will be set to 0 (User). This is normal and makes sense. If you change any of the settings, you're changing the way things are scaled. Even if you're not touching the scaling of values with ScaleHeight/Width and only change ScaleLeft/Top, you're still changing the placement of graphics and so it really is user scaling. For my app, I just set it to PIXELS and forget about it because I do a lot of API calls to the GDI and it requires coordinates in Pixels and I don't want to have to convert coordinates all the time. While this means I have to do my own scaling, I would have to do it anyway for various reasons, so it's no big deal. – Ted There is 1 Reply.