![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Back to our created tab function. I found out that in MT4 the text is displayed without taking into account the scaling setting set in Windows. Therefore it is not necessary to use the GetDeviceCaps(hdc, LOGPIXELSX) function. The dpi variable should always be set to 96.
Here is a corrected version of Sergeev's code.
and besides, I still haven't figured out what font the in-house Comment works in. I had to adjust it manually.
I've already written: Tahoma,8. In my example it was set as follows
Oh, no, I was wrong! It's Tahoma 7. It's just that the font height has to be set with a minus, otherwise it selects some other size.
It's working fine now. Checked both Comment and label fonts.
Greetings Gentlemen!
![](https://c.mql5.com/mql4/forum/2012/02/prnsc.gif)
There is an option in MT4 to use full-fledged: button, label, text box, list, checkbox. (see pic):
Problems:
1. The libraries (dll) that allow to implement the above mentioned are foreign, as a consequence there is no source code.
2. The objects are blinking - please help me to fix this mess.
3. The objects are not transparent, and as a consequence, cover part of the chart - please help me to fix it.
In attached archive actually all the necessary files. - ... failed to upload.... uploaded here (may the moderators forgive me) http://zalil.ru/32681603/363d1807.4f35d1e0/objects.rar
Unzip to Program Files/MetaTrader, or replace with your appropriate one.
The result file.gif can be found in:Program Files/MetaTrader/Experts/Files
Please report back to 85747280[@]mail[.]ru (do not forget to remove the square brackets)
Thank you in advance.
Are you suggesting fixing someone else's DLL without source code? And why in this thread?
2. Even in this condition - quite serviceable