ExtDialog alignement on initialization

 

I have a ExtDialog, when it opens its position is sticked on left top, i want it to align center on Init,

How can i do it

 
No code no hope.
 
Carl Schreiber #:
No code no hope.

here is the code for dialog box

Improving Panels: Adding transparency, changing background color and inheriting from CAppDialog/CWndClient
Improving Panels: Adding transparency, changing background color and inheriting from CAppDialog/CWndClient
  • www.mql5.com
In this article, we continue studying the use of CAppDialog. Now we will learn how to set color for the background, borders and header of the dialog box. Also, this article provides a step-by-step description of how to add transparency for an application window when dragging it within the chart. We will consider how to create child classes of CAppDialog or CWndClient and analyze new specifics of working with controls. Finally, we will review new Projects from a new perspective.
 
Arpit T #:

here is the code for dialog box

In this case you should describe your problem in the comment part of the article: https://www.mql5.com/en/forum/268877

Beside that look whether he has written a follow up where he corrected some prev. glitches:  https://www.mql5.com/en/users/barabashkakvn/publications

Discussion of article "Improving Panels: Adding transparency, changing background color and inheriting from CAppDialog/CWndClient"
Discussion of article "Improving Panels: Adding transparency, changing background color and inheriting from CAppDialog/CWndClient"
  • 2018.07.27
  • www.mql5.com
New article Improving Panels: Adding transparency, changing background color and inheriting from CAppDialog/CWndClient has been published: Author...
Reason: