Autor Beitrag
MarioL
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23

Win XP, Win 7
Delphi 6
BeitragVerfasst: Do 12.07.07 10:56 
Hallo,

Wie kann man die Eingestellte Auflösung des zweiten Ausgabegerätes (Monitor bzw. Beamer) ermitteln
und evtl. noch die Desktop-Einstellung (gleicher Desktop oder erweiterter Desktop...)?

MfG MarioL
chrisw
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 439
Erhaltene Danke: 3

W2K
D7
BeitragVerfasst: Do 12.07.07 11:34 
Hallo :

Feststellen ob 2. Monitor vorhanden :

ausblenden Delphi-Quelltext
1:
if Screen.MonitorCount > 1 then ...					


Höhe und Breite feststellen:

ausblenden Delphi-Quelltext
1:
2:
Hoehe := Screen.Monitor[1].Height;
Breite := Screen.Monitor[1].Width;

_________________
Man sollte keine Dummheit zweimal begehen, die Auswahl ist schließlich groß genug.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 12.07.07 12:38 
Die Unterscheidung ob Mirror oder Erweiterung lässt sich mit VCL-Mitteln nicht Ermitteln. Dazu brauchst Du die Monitor-Unit von Omorphia, da dort einige Abfragen vollständiger als in der VCL implementiert sind.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.