My biggest problem arises from users changing the three default fonts on their machine. This causes many controls to get bigger, and the whole layout gets messed up. My application fits on a 1024x768 screen using the default font and I want to keep it that way.
I thought I could turn on 'window resizing while scaling all objects', but that doesn't seem possible programmatically. This is what I wanted to do, anyone see a way to do this?
- upon launch read ini file, and set window size, while scaling all objects.
- check size and position of controls, if they don't fit in the window (this can happen if the user changed the font) turn off 'scaling of objects' and resize window.
- turn on 'window resizing while scaling all objects', so that user can enlarge window if that is desired, while maintaining the layout.
- save window size in .ini file
Thanks!