🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1891

Re: Detect Screen DPI Change

#1891
From: Giuliano
Date: Wed, 30 May 2007 10:38
22 lines
1386 bytes
Il 30 May 2007 03:22:58 -0700, "JD" <nospam@nospam.com> ha scritto:

>
>Is there some way that I can detect a change in the screens
>density of pixels per inch (like when the user changes the
>resolution using the ControlPanel)?
>
>~ JD

You could try to see if TApplicationEvents::OnSettingChange
of the TApplicationEvents component resolves your problem.

In fact, the online help states:

<<Use OnSettingChange to respond when Windows informs the   application that a
system-wide setting or policy has changed.>>     

So, I think it could help you.    

Regards    

Giuliano
Technical Details
Message-ID: <2okq53tjf32svuljplnp5o6u4o3hftbmh6@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <465d5082$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c36b0af35aa9bbb7
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Giuliano <>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Detect Screen DPI Change
Date: Wed, 30 May 2007 12:38:00 +0200
Message-ID: <2okq53tjf32svuljplnp5o6u4o3hftbmh6@4ax.com>
References: <465d5082$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.72.236.131
X-Trace: newsgroups.borland.com 1180521479 81.72.236.131 (30 May 2007 03:37:59 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail