Solution:
public
{ Public declarations }
protected
procedure CreateParams(var Params: TCreateParams); override;
procedure TfrmSubForm.CreateParams(var Params: TCreateParams);
begin
inherited;
Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW;
Params.WndParent := Application.Handle;
end;