Discussion of article "Graphical Interfaces IX: The Color Picker Control (Chapter 1)"

 

New article Graphical Interfaces IX: The Color Picker Control (Chapter 1) has been published:

With this article we begin chapter nine of series of articles dedicated to creating graphical interfaces in MetaTrader trading terminals. It consists of two chapters where new elements of controls and interface, such as color picker, color button, progress bar and line chart are presented.

 

Fig. 1. Compound parts of color picker.

Author: Anatoli Kazharski

 
Seens that there is a problem when close the color picker window.
Situation:
Normal window (Main) -> open a Dialog window (Config) -> that open a new Dialog window that has the Color Picker.
When you click OK or Cancel button in Color Picker window, the focus go to the Main window (grandparent) instead of Config window (parent).
Reason: