type
TForm1 = class(TForm)
...
...
public
procedure CreateParams(var Params: TCreateParams); override;
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.CreateParams(var Params: TCreateParams);
begin
SystemParametersInfo($1025, 0, PChar(True), 0);
inherited;
Params.WindowClass.Style := Params.WindowClass.Style or 131072;
end;