Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!trwind!gumby!deneva!betelgeuse.sdd.trw.com!rroux From: rroux@betelgeuse.sdd.trw.com (Ray Roux) Newsgroups: comp.windows.x Subject: How can I get the display resolution? Message-ID: <27EC4020.5705@deneva.sdd.trw.com> Date: 24 Mar 91 05:58:55 GMT Sender: news@deneva.sdd.trw.com Reply-To: rroux@betelgeuse.sdd.trw.com (Ray Roux) Distribution: usa Organization: TRW Inc., Redondo Beach, CA Lines: 13 Is there a way that I can get the resolution of the display? I need to modify a program such that it can run correctly on either a Sun Workstation or an NCD-16 X terminal. The NCD has a higher resolution than the Sun and so the widget placement and winow sizes are all off. Unfortunately, there's no money or time to re-write it to be resolution independent. I hope there's some way for me to know which display I'm using and then do some conversion. I know it's a kludge but.... Ray Roux rroux@rigel.sdd.trw.com