procedure CreateParams(var Params: TCreateParams); override;
// Then, in the actual CreateParams method, specify this:
procedure TForm1.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
with Params do
Style := (Style or WS_POPUP) and (not WS_DLGFRAME);
end;