Discussion of article "Graphical Interfaces IV: Informational Interface Elements (Chapter 1)"

 

New article Graphical Interfaces IV: Informational Interface Elements (Chapter 1) has been published:

At the current stage of development, the library for creating graphical interfaces contains a form and several controls that can be attached to it. It was mentioned before that one of the future articles would be dedicated to the multi-window mode. Now, we have everything ready for that and we will deal with it in the following chapter. In this chapter, we will write classes for creating the status bar and tooltip informational interface elements.

A status bar is one of the informational elements of the graphical interface. This element is used for a quick entry of important data, details, values, etc.

In this article, we are going to create a simple status bar without an option of attaching context menus to its items. Similar to other interface elements, a status bar will be composed of several primitive objects:

  • Background.
  • Items.
  • Separation lines.

Fig. 1. Compound parts of the status bar element.

Fig. 1. Compound parts of the status bar element.


If everything was done correctly, you should get the result as shown in the screenshot below:

Fig. 2. Test of the status bar element.

Fig. 2. Test of the status bar element.

We have completed developing the class for creating the status bar element. The complete version of the class can be found in the files attached to this article. 

Author: Anatoli Kazharski

 
MetaQuotes Software Corp.:

New article Graphical Interfaces IV: Informational Interface Elements (Chapter 1) has been published:

Author: Anatoli Kazharski

Awesome! Thanks Anatoli.
Reason: