Mega Code Archive

 
Categories / Delphi / Forms
 

How to show a second form with a active title bar

Title: How to show a second form with a active title bar procedure TForm2.FormActivate(Sender: TObject); begin SendMessage(Application.MainForm.Handle, WM_NCACTIVATE, Boolean(True), 0); end;