From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: How to get the screen size? Date: Sat, 6 Apr 2013 17:56:12 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: Tr4YF43EK2s0RuphVpEIMQ.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Tom's custom newsreader X-Original-Bytes: 1110 Xref: number.nntp.dca.giganews.com comp.lang.ada:180959 Date: 2013-04-06T17:56:12+00:00 List-Id: >To make my ada application program suitable for more monitor sizes, I need >the Screen Size. Where the size is the number of pixels. Is there a >function or procedure to get the screen width and height? On which monitor, under which OS? CLAW (Class Library for Ada on Windows) has Get_System_Metrics, which basically calls Windows' GetSystemMetrics with the right parameter.