Floating vs docked Dialog

 

Greetings.

MetaTrader5 comes with some Dialog examples. The EA example is in Examples\Controls and the Indicator example is in Examples\Panels\SimplePanel.

The EA example creates a floating dialog that can be dragged around, and the Indicator example creates a docked dialog which docks under the chart.

I'd like to create a docked dialog for my EA, but I can not see any difference in the code in the two examples.

How can I create a docked EA dialog?

Thanks!

Reason: