Autor Beitrag
eniac
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 75

Win 98, Win XP, SuSE Linux 9.0
D3 Prof
BeitragVerfasst: Mo 29.08.05 13:22 
servus,

Welche Bildschirmauflösung unter Windows möglich ist hängt ja von verschiedene Faktoren ab: Grafikkarte, Bildschirm, Treiber, ...
Gibt es eine einfache und schnelle möglichkeit alle unterstüzten Auflösungen auszulesen (vielleicht mit einem Eintrag in der Registry oder so)?

danke schon mal für jeden Hinweis...


Moderiert von user profile iconraziel: Topic aus VCL (Visual Component Library) verschoben am Do 01.09.2005 um 21:00

_________________
Manche Leute haben den Horizont in Form eines Kreises mit Radius Null und das nennen sie dann einene Standpunkt.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 29.08.05 17:11 
Die Schweizer haben da bestimmt was: www.swissdelphicenter.ch
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: Mo 29.08.05 17:56 
Siehe einfach mal in der alten Screen-Unit OIncMonitors.pas von Projekt Omorphia. Dort gibt's eine Procedure dafür.

Hauptbestandteil ist ein Aufruf von Procedure TOScrMonitor.ScanScreenModes;.

_________________
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.
eniac Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 75

Win 98, Win XP, SuSE Linux 9.0
D3 Prof
BeitragVerfasst: Mo 29.08.05 20:06 
thx,
so was hab ich gesucht!!

Ich denke das bekomm ich mit eurer hilfe hin :D

_________________
Manche Leute haben den Horizont in Form eines Kreises mit Radius Null und das nennen sie dann einene Standpunkt.
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Di 30.08.05 11:04 
Auch wenn die Frage bereits beantwortet wurde poste ich mal mein Codeschnipsel ;-)

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
Procedure TForm1.Button1Click(Sender: TObject);
Var
  Loop : Integer;
  DevMode : TDevMode;
Begin
  Loop := 0;
  While EnumDisplaySettings (nil, Loop, DevMode) Do
  Begin
    With Devmode Do
      ListBox1.Items.Add (
          Format (
              '%d x %d; %d Farben',
              [dmPelsWidth,dmPelsHeight,Int64(1shl dmBitsperPel]
            )
        );
      Inc (Loop);
   End;
End;


Auch zu erwähnen ist der folgende FAQ Beitrag: Wie kann ich Bildschirmauflösungen ermitteln & wechseln?

Lg Martin