Discussion of article "Custom Graphical Controls. Part 2. Control Library"

 

New article Custom Graphical Controls. Part 2. Control Library is published:

The second article of the "Custom Graphical Controls" series introduces a control library for handling the main problems arising in interaction between a program (Expert Advisor, script, indicator) and a user. The library contains a great number of classes (CInputBox, CSpinInputBox, CCheckBox, CRadioGroup, CVSсrollBar, CHSсrollBar, CList, CListMS, CComBox, CHMenu, CVMenu, CHProgress, CDialer, CDialerInputBox, CTable) and examples of their use.

Fig. 11. CHProgress Class (Horizontal Progress Bar)

Fig. 11. CHProgress (Horizontal Progress Bar)

Fig. 12. CDialer Class (Dialer)

Fig. 12. CDialer Class (Dialer)

Author: Дмитрий

 

By the way, documentation for all classes is attached to the article.


 

Can I ask you to add CDialerInputBox for date and time in the next article?

Thanks for the GUI development. I have almost figured out the functionality and I am finishing my programme.

 
Strong stuff, really simplifies life, just have to wait for the third part.
 
progma137:

Can I ask you to add CDialerInputBox for date and time in the next article?

Thanks for the GUI development. I've almost figured out the functionality and I'm completing my programme.

It will not be in the next article for sure. The article is already ready, the last touch is left.

Entering the date, time... I also want a calendar. In general, there are plans, but not in the near future, unfortunately quite distant. The thing is complex, requires careful thought, still want to combine it with a vertical line to be able to date a vertical line to indicate (at choice).

It is possible to make a hastily made of comboxes, the only difficult moment is to destroy in what month by how many days. Here you need to write the date-time of the beginning of the next month as a string, convert the string into time, subtract one second, extract the day of the month.

 
Seems that IncGUI_v2.mqh is not joined yet.
 
razoff:

Seems that IncGUI_v2.mqh is not joined yet.
Thank you, fixed.
 

where is CChart class? 

 

Your includes is very-very good!

Maybe can you create a BmpButton? Or can you tell me, how can I create a normal CBmpButton over your frames?

Thanx for your help!

Gábor

 
This is very useful. Appreciate that.
 

I don't know if it's not relevant, but I'll ask you this

When I pull the horizontal scroll, the chart is pulled too, is there no way to fix it?????