minimize
public text v1 · immutableunit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
procedure WndProc(var msg: TMessage); override;
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.WndProc(var msg: TMessage);
var bla: Integer;
begin
if (not (msg.wparam = SC_MINIMIZE)) then inherited;
end;
end.