Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi About multi monitors (https://www.delphipraxis.net/161151-about-multi-monitors.html)

WojTec 19. Jun 2011 16:13

About multi monitors
 
How to enum installed monitors?
EnumDisplayDevices() is good for graphic cards, and for monitors?

How to get/set display settings (resolution, DPI and refresh rate) on selected monitor?
ChangeDisplaySettings() is good for primary monitor, how about others?

himitsu 19. Jun 2011 16:17

AW: About multi monitors
 
Delphi-Referenz durchsuchenScreen.Monitors

and

MSDN-Library durchsuchenChangeDisplaySettings
Zitat:

To change the settings of a specified display device, use the MSDN-Library durchsuchenChangeDisplaySettingsEx function.

WojTec 19. Jun 2011 17:07

Re: AW: About multi monitors
 
Zitat:

Zitat von himitsu (Beitrag 1107336)
Screen.Monitors

Hm, I know this, but it don't return device 'friendly' name, just index.

Ok, I'll check this *Ex function, thanks.

Codehunter 20. Jun 2011 13:21

AW: About multi monitors
 
Have a look onto my good old DelphiWorks project (dwScreens.pas)


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz