Autor Beitrag
1aa
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47
Erhaltene Danke: 1

Win Vista, Win8
Delphi 2007
BeitragVerfasst: Di 05.06.07 22:06 
Wie kann ich feststellen ob windows die taskleiste automatisch ausblendet?


Moderiert von user profile iconChristian S.: Topic aus VCL (Visual Component Library) verschoben am Mi 06.06.2007 um 18:47
Stefan.Buchholtz
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 612

WIN 2000, WIN XP, Mac OS X
D7 Enterprise, XCode, Eclipse, Ruby On Rails
BeitragVerfasst: Mi 06.06.07 09:08 
Das kannst du über Screen.WorkareaRect herausfinden. Das gibt die Fläche des Hauptmonitors an, die für Programme nutzbar ist. Entspricht diese der Auflösung des Hauptmonitors, wird die Taskleiste ausgeblendet. Ist die Taskleiste fest, ist die WorkAreaRect entsprechend kleiner.

Stefan

_________________
Ein Computer ohne Windows ist wie eine Schokoladentorte ohne Senf.
Saubäär
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 376



BeitragVerfasst: Mi 06.06.07 18:38 
Hallo,

prinzipiell könntest du auch die Registry auslesen. Hier findest du einige Infos, die nützlich sein könnten: www.wintotal-forum.d.../topic,102380.0.html

Gruß
1aa Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47
Erhaltene Danke: 1

Win Vista, Win8
Delphi 2007
BeitragVerfasst: Mi 06.06.07 19:54 
Danke!
Neue Frage gleiches Thema:
Wie kann ich die Größe einer minnimierten Taskleiste auslesen?
Saubäär
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 376



BeitragVerfasst: Mi 06.06.07 22:20 
Moin,

vielleicht gehts so:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
var TaskbarHeight: Integer;
begin
 TaskbarHeight := Screen.Height - Screen.WorkareaHeight;
end;


Edit: Nee, so funktionierts nur bei angezeigter Taskbar.

Gruß
1aa Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47
Erhaltene Danke: 1

Win Vista, Win8
Delphi 2007
BeitragVerfasst: Mi 06.06.07 23:10 
das obrige funkt nur wenn man die Taskleiste nicht ausblentet wird!
1aa Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47
Erhaltene Danke: 1

Win Vista, Win8
Delphi 2007
BeitragVerfasst: Mi 13.06.07 20:54 
Weiß jemand noch eine andere Methode?