Ich habe mir das neue Kubuntu 4.10 LTS installiert, und da ist auch das neue KDE 4.4 mit dabei. ( Ich vermute das der Fehler durch das Fenster Snapping kommt, sicher bin ich aber nicht ..)
Und seit dem ich dieses drauf habe kann ich keine Vollbild Anwendungen mehr erstellen.
Das heist, es geht schon, aber nicht mehr so wie ich das bisher gemacht hatte :
Code: Alles auswählen
Function GetMaxResolution: TRect;
Var
i: Integer;
Begin
result.Top := 0;
result.Left := 0;
result.Bottom := 0;
result.Right := 0;
For i := 0 To Screen.MonitorCount - 1 Do Begin
If Screen.Monitors[i].Left < result.Left Then
result.Left := Screen.Monitors[i].Left;
If Screen.Monitors[i].Top < result.Top Then
result.Top := Screen.Monitors[i].Top;
If (Screen.Monitors[i].Left + Screen.Monitors[i].width) > result.Right Then
result.Right := (Screen.Monitors[i].Left + Screen.Monitors[i].width);
If (Screen.Monitors[i].top + Screen.Monitors[i].height) > result.Bottom Then
result.Bottom := (Screen.Monitors[i].top + Screen.Monitors[i].height);
End;
End;
Procedure TForm1.FormCreate(Sender: TObject);
Var
i: Integer;
r: Trect;
Begin
memo1.clear;
For i := 0 To screen.MonitorCount - 1 Do Begin
memo1.lines.add('Monitor ' + inttostr(i + 1));
memo1.lines.add('Top : ' + inttostr(screen.Monitors[i].Top));
memo1.lines.add('Left : ' + inttostr(screen.Monitors[i].left));
memo1.lines.add('Width : ' + inttostr(screen.Monitors[i].width));
memo1.lines.add('Height : ' + inttostr(screen.Monitors[i].height));
memo1.lines.add('');
End;
r := GetMaxResolution;
top := r.top;
left := r.left;
width := r.Right - r.left;
height := r.bottom - r.top;
End;
mittels :
Code: Alles auswählen
form1.WindowState := wsMaximized;

Habt ihr eine Idee, wie ich das Problem lösen kann ?
@ irgend ein Moderator
Ich hab glaubig das Falsche Unterforum erwischt, könnte jemand den Post nach
# Portal»Foren-Übersicht ‹ Programmierung ‹ API & Plattformspezifisches ‹ Linux
verschieben ?