forms - Hide form2 from taskbar -


I want to hide form2 from the taskbar, but I do not know.
I know how to hide main form:

  application.MainFormOnTaskBar: = false;   

But how can I hide form2 from the taskbar?

How, by ownership, I mention the Delphi concept instead

In the unknown top level window, there are buttons on the taskbar by setting the MainFormOnTaskbar to False and you can make the main form in the ownership of the application window. And the taskbar button is associated with the application window. You are hiding that window from hiding the application window

If there is a button on the taskbar in the secondary form then it is probably not the owner, it will not be by default, so someone assumes that you have to go from WndParent to 0 in < Setting Code> CreateParams Or using PopupParent to get it

Owned windows do not appear on the taskbar, and since it appears that you do not own the secondary form in the ownership of the main form It seems that you need to create a secondary form that is owned by the application window.

Even if my estimated position above is closed, the fact is that keeping the window in the taskbar is to give it a master.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -