Autor Beitrag
Daffke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29

Win XP
MS Visual C# 2005 Express Edition
BeitragVerfasst: Fr 18.05.07 18:37 
Hi!

Eine Frage nebenbei... ;-)

Wie kann man eigentlich die Bildschirmauflösung ermitteln, die der Anwender zur Laufzeit benutzt?

Danke.
Gruß,
Daffke
Daffke Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29

Win XP
MS Visual C# 2005 Express Edition
BeitragVerfasst: Fr 18.05.07 18:48 
Ah...
Ich weiß schon! :-)

ausblenden C#-Quelltext
1:
MessageBox.Show(Convert.ToString(SystemInformation.WorkingArea.Right) + " x " + Convert.ToString(SystemInformation.WorkingArea.Bottom+30));					


Gruß,
Daffke
JüTho
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2021
Erhaltene Danke: 6

Win XP Prof
C# 2.0 (#D für NET 2.0, dazu Firebird); früher Delphi 5 und Delphi 2005 Pro
BeitragVerfasst: Fr 18.05.07 19:14 
Naja, und wenn die Taskleiste vergrößert ist, dann stimmen die 30 Pixel nicht mehr. Untersuche auch Screen.Bounds. Jürgen
Daffke Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29

Win XP
MS Visual C# 2005 Express Edition
BeitragVerfasst: Fr 18.05.07 19:40 
Ach ja... hast Recht...!

Mist. :-(
MrDude
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 22

Win 2000, Win XP Pro., Kubuntu, Debian
C# (VS 2008)
BeitragVerfasst: Sa 19.05.07 13:43 
Mich würd da noch interessieren ob man auch die Auflösung ändern kann...
arj
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 378

Win XP/Vista, Debian, (K)Ubuntu
Delphi 5 Prof, Delphi 7 Prof, C# (#Develop, VS 2005), Java (Eclipse), C++, QT, PHP, Python
BeitragVerfasst: Sa 19.05.07 16:11 
JFGI! (is aber nich böse gemeint ;) )

www.codeproject.com/.../CSDynamicScrRes.asp
Daffke Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29

Win XP
MS Visual C# 2005 Express Edition
BeitragVerfasst: Mi 23.05.07 18:21 
user profile iconarj hat folgendes geschrieben:
JFGI! (is aber nich böse gemeint ;) )


Kann ja gar nich' böse gemeint sein. Ich weiß ja gar nich' was die Abkürzung "JFGI" heißt... ;-)