I am using "mIRC v7.66" + "DCX dll v3.1-git394" in system "Windows 8.1 x64".
When creating buttons with a combination of different styles and coloring, I encountered a number of shortcomings:
When adding borders with the "/xdid -x $dname 2 +b" command while painting the background, only the border around the button becomes colored. This can be seen in the example of "Button 2".
To color the button in the desired color, you need to apply the style bitmap, although this is not said anywhere in the documentation. But in this case, the set border for the button loses its color and becomes dark gray and the button loses its clicked effect. This can be seen in the example of "Button 3".
When adding an icon for a button, it is set only before the button name, and besides, the name with the icon can be located only in the center of the button. I tried changing the center position by adding "$str($chr(8199),10)" (numeric space) to the end of the text, but this is more of a crutch, than that how it should actually work. In addition, if the number of characters exceeds the size of the button, an ellipsis appears at the end of the button. This can be seen in the example of "Button 6".
Would like to see a fix for these problems. Thanks.
Here is a test piece of script to reproduce this the problem. To run the script click on "F5" or enter the command "/button_test":
I am using "mIRC v7.66" + "DCX dll v3.1-git394" in system "Windows 8.1 x64".
When creating buttons with a combination of different styles and coloring, I encountered a number of shortcomings:
bitmap
, although this is not said anywhere in the documentation. But in this case, the set border for the button loses its color and becomes dark gray and the button loses its clicked effect. This can be seen in the example of "Button 3".Would like to see a fix for these problems. Thanks.
Here is a test piece of script to reproduce this the problem. To run the script click on "F5" or enter the command "/button_test":