Autor Beitrag
Bulvaye
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 37

Windows Xp
Delphi 7 Enterprise
BeitragVerfasst: Do 09.09.04 16:19 
Hallo zusammen! :wink:

Ich habe da eine Frage und zwar:

Wie kann man eigentlich bei TForm-Objekten, die sich im WindowState=wsMaximized befinden, ermitteln, wie die Fensterkoordinaten/-dimensionen im WindowState=wsNormal lauten?

_________________
Gesegnet ist, dessen Geist zu klein für jedweden Zweifel ist.
iKilledKenny
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 394
Erhaltene Danke: 8

Win XP
D5 Prof, C# Express 2005
BeitragVerfasst: Fr 10.09.04 10:16 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var   wp : TWindowPlacement;

begin
  wp.length := SizeOf (wp);
  GetWindowPlacement (Handle, @wp);
end;


im wp.rcNormalPosition steht das dann alles drin.

grüße
alex
Bulvaye Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 37

Windows Xp
Delphi 7 Enterprise
BeitragVerfasst: Fr 10.09.04 11:03 
Danke, klappt super! :D

_________________
Gesegnet ist, dessen Geist zu klein für jedweden Zweifel ist.