[fpc-pascal] Windows Display Settings

Ondrej Pokorny lazarus at kluug.net
Sat May 13 19:24:06 CEST 2023


On 13.05.2023 19:20, James Richters via fpc-pascal wrote:
>
> Is there some way with FreePascal that I can Get / Set the windows 
> display settings for multiple monitors like their resolutions, 
> portrait/landscape, scale factors, and if they are disconnected or not?
>
That is more a WinAPI question than pascal.

Search for "delphi set display settings" or "winapi set display 
settings" in google to find some resources.

E.g. 
https://stackoverflow.com/questions/956870/using-changedisplaysettingsex-in-delphi-to-set-primary-monitor

Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230513/92254bdc/attachment-0001.htm>


More information about the fpc-pascal mailing list