Autor Beitrag
Jakob Schöttl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Do 15.11.07 15:37 
Hallo

mit welcher Funktion frägt man Height, Width, Top und Left ab?

das Handle des Fensters habe ich (GetForeGroundWindow)

Danke schon mal
Logikmensch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 390

Win XP
Delphi 2007 Prof., XE2, XE5
BeitragVerfasst: Fr 16.11.07 08:02 
Wenn Du das Handle hast, nimm

ausblenden Delphi-Quelltext
1:
GetWindowRect(handle,rect);					


Damit bekommst Du die Größe und Position auf dem Bildschirm

_________________
Es gibt keine Probleme - nur Lösungen!
Jakob Schöttl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Fr 16.11.07 15:12 
ah, ok, das ist genau das was ich suchte.

Danke!