79558802

Date: 2025-04-06 22:26:21
Score: 1
Natty:
Report link

setting the Application.MainFormOnTaskbar to False will indeed work, But (I forgot to mention, my bad) I am experimenting with a very old Delphi language and thus setting the Application.MainFormOnTaskbar to False won't work. I instead found a workaround (created a tiny procedure):

procedure TFRMlogin.FRMshow(Form: TForm);  
begin  
SetWindowLong (Form.Handle, GWL_EXSTYLE,GetWindowLong (Form.Handle, GWL_EXSTYLE) or WS_EX_APPWINDOW) ;  
end;
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 8legs tentacles