1. Screen Resolutions
- Posted by "C. K. Lester" <cklester at TICNET.COM> Mar 31, 1999
- 346 views
I was running ezDesign by Jacques and I run my desktop at 1024 x 768. The main windows cuts off the lower-half of the text, and I can't seem to resize the window. Just an observation: As we develop Windows programs, we need to be aware that people might be running their programs at different resolutions, and that text gets screwed around from resolution to resolution. How would one go about programming 'screen resolution adaptation' in one's Windows program? Thanks! ck lester
2. Re: Screen Resolutions
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Mar 31, 1999
- 356 views
C. K. Lester wrote: > How would one go about programming 'screen resolution > adaptation' in one's Windows program? In X Windows, it's called a 'geometry manager', and they dynamically lay out the window's components. Tcl/Tk is an excellent example of this sort of thing. I dabbled with that in WinMan, and it's quite feasible to add to Win32Lib. Take a look at WinMan, and you can get a flavor of what's involved. There are typically a handful of styles to choose from: horizontal layout, vertical layout, etc. You can place geometry managers within other geometry managers and build complex layouts without ever having to specify an size or positions. Control placement within a geometry manager is a relative sort of thing, along the lines of "on the right hand side of the 'Close' button". I became disenchanted with geometry managers when I worked with Tcl/Tk. The windows didn't seem to know about the screen resolution, so when they were created, they were much too large. In addition, many windows had so many elements that they were only useful in high resolutions. -- David Cuny