folgender source sollte gehen (benutz ich auch)
Delphi-Quellcode:
var place: TWindowPlacement;
begin
GetWindowPlacement(Form1.handle, @place); //eventuell Form1.handle durch Application.handle ersetzen
if place.showCmd = 3 then
begin
//das was passieren soll wenns maximiert ist
end;
end;