0

I installed IDM software on my system, and this pop-up appears in the middle. There is no minimize button, so the only way to close the window is by using the solution. However, Autohotkey with a minimize script can still minimize it, even though there is no minimize button:

enter image description here

How can autohotkey minimize this window if there is no minimize button on it?

9
  • Because a minimize button is just for convenience. It is not required in order to minimize a window. E.g. if you press Winkey+D you can also minimize windows without any minimize button.
    – Gantendo
    Commented Apr 28 at 16:55
  • @Gantendo fix my imgur link
    – M. K Ang
    Commented Apr 28 at 16:56
  • 1
    why bother, the question has been answered already
    – Gantendo
    Commented Apr 28 at 16:58
  • @Gantendo, if it's a duplicate, then please mark it to close, with reference to the duplicate, answered, question. Commented Apr 28 at 17:33
  • @M.KAng, there was an extra space in the image name. Though I've fixed it, you should be able to edit your own questions, in the future. Commented Apr 28 at 17:36

1 Answer 1

0

When creating a windowed object in Microsoft (MS) Windows, one usually starts with a predefined window class, which MS has established. You'll notice how simple the code is to create a rather complex object, because most of the work has already been done by the developers of the class.

There is built-in message handling, so that the window can respond to messages such as WM_CLOSE. From StackOverflow,"The WM_SIZE message is sent to a window when its size has been changed; if that size change was to minimize the window, then the wParam argument will be SIZE_MINIMIZED."

The window may also have a title bar, with various controls, such as a maximize, minimize and restore button, which simply send those messages. Dialog windows often do not have those controls. However, the code behind the window, unless specifically modified, still responds to the message to minimize.

[BTW, there are many free download managers, which will not bother you with a nag screen. As with any software, test a replacement downloader at VirusTotal before using, though!]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .