Show a second form with a active title bar

Show a second form with a active title bar

To show a from/window with an active titlebar, send a WM_NCACTIVATE message to it.

procedure TForm2.FormActivate(Sender: TObject);
begin
  SendMessage(Application.MainForm.Handle, WM_NCACTIVATE, Boolean(True), 0);
end;