New article: Graphical Interfaces IV – Informational Interface Elements (Chapter 1)

Back to topics list To post a new topic, please log in or register
avatar
Moderator
72395
MetaQuotes 2016.04.18 17:55
 

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

Back to topics list  

To add comments, please log in or register