Path: utzoo!attcan!uunet!samsung!usc!apple!hercules!fernwood!decwrl!chico.pa.dec.com!klee From: klee@chico.pa.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Screen resolution Message-ID: <2140@bacchus.dec.com> Date: 20 Nov 89 23:16:05 GMT References: <1172@uakari.primate.wisc.edu> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 13 In article <1172@uakari.primate.wisc.edu>, bin@primate.wisc.edu (Brain in Neutral) writes: > Is there a "proper" way to determine the resolution of a screen, e.g., > something other than XHeightOfScreen (s) / XHeightMMOfScreen (s) ? I'm not sure what you mean by "proper", but the method you describe is pretty efficient already. Neither of these functions (or the equivalent macros) generate protocol, so the cost is pretty minimal. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee