Einzelnen Beitrag anzeigen

Robert_G
(Gast)

n/a Beiträge
 
#3

Re: Kein Fenstertitel und trotzdem maximiert

  Alt 1. Mai 2004, 23:08
So wäre es ein 2-Zeiler.
Delphi-Quellcode:
Procedure TFormIrgendWas.WMGetMinMaxInfo(Var Msg: TWMGetMinMaxInfo);
Begin
  With Monitor.WorkareaRect Do
  Begin
    msg.MinMaxInfo.ptMaxPosition := TopLeft;
    msg.MinMaxInfo.ptMaxSize := Point((Right - Left), (Bottom - Top));
  End;
End;
Edit: Ich habe gerade einen Tippfehler gefunden.
Ich hatte 2-mal ptMaxSize geschrieben
  Mit Zitat antworten Zitat