Libraries: EasyAndFastGUI library for creating graphical interfaces - page 15

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
@Samuel Bandi Roccatello
Hi!
I will be dealing with this issue soon. Most likely, I need to revise the approach in the Resources.mqh file.
I've been playing with the EAF library the last couple of days and while studying the CResources class, its design didn't seem ideal to me -- I think the resource image data (and methods) should be declared as static to have reduce memory footprint by having a single instance of the images. Alternatively, the CResources instance in CImage class (see Objects.mqh), could be made static to avoid duplicating resources in memory, as it is unlikely that more than one set of resources will be needed in the same application.
Hello, I join the question. I am also looking to get version 2.00 or older with examples. Thank you.
I need help.
How do I get the value of the date from drop calendar.
Good day
I need help.
How do I get the value of the date from drop calendar.
Found it
Seems between 2016 to 2019, you stopped bordering with Rounded buttons as seen in Graphical Interfaces X: Updates for Easy And Fast Library (Build 2) - MQL5 Articles.
I'm comparing the CButton from that time to the most recent version to learn what changed. It would have been awesome if this is the default or if it has its own CRoundedButton as seen below.
Sincerely, it is really easier to work with this library than the native CCharts.
Kudos
Hello Anatoli,
while trying something like Ctrl-Click on the Table I stumbled over the CMouse-Code:
This line seems not enough to get the left mouse button (see MQL help for CHARTEVENT_MOUSE_MOVE) :
bool m_left_button_state =(bool)int(sparam);
As I tried with a short program it shows the variable m_left_button_state will be true for all int(sparam) >0.
Therefore the right mouse button and even the special keys Ctrl and Shift make this var = true.
It should be a bittest for 1. Like I did it for the Ctrl-Key in the following code .
Hope I have not missed something and hope it helps.
Plus: Thank you for your great Lib !
why type void ?
why type void ?