79388722

Date: 2025-01-26 15:03:05
Score: 1
Natty:
Report link

Instead of just minimizing the window, you need to minimize the application:

  //WindowState := wsMinimized; <- wrong
  //ShowWindow(Handle, SW_MINIMIZE); <- wrong
  ShowWindow(Application.Handle, SW_MINIMIZE); // <- 👍
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Felix Murzsa