Borderless form cannot be minimize by clicking on the taskbar application icon

147 Views Asked by At

I have a Delphi VCL application with the following settings:

BorderIcons = []
BorderStyle = bsNone

I have then already implemented various functions such as minimizing, closing, etc. via buttons. Now I've noticed that when I minimize my application and then click on its taskbar button, it maximizes again normally.

However, when I click on the taskbar entry again, nothing happens. Normally, an application is then minimized.

If I switch the BorderStyle back to bsSingle, then this works fine. What do I need to do to make this work for a borderless application?

0

There are 0 best solutions below