Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

IncGUI_ColorInput - MetaTrader 5 Library | MT5 EA Download

author EAcpu | 5 reads | 0 comments |

IncGUI_ColorInput - library for MetaTrader 5

Graphical controls for color selection.

IncGUI_ColorInput - library for MetaTrader 5

This class uses IncGUI_v4.mqh and IncColors.mqh library.

IncGUI_v4. mqh, IncColors.mqh and IncGUI_ColorInput.mqh must be placed in terminal_data_folder\MQL5\Include

To use this class you need to include IncGUI_ColorInput.mqh:

 #include

Then, declare the class (CColorInput class instance):

 CColorInputci;

To get the selected color, use the Color() method, and you can set the color using the SetColor(color aColor) method.

Class usage example is attached - see eTestColorDialog.mq5.

Details can be found in the article:


Attachment download

📎 incgui_colorinput.mqh (50.57 KB)

📎 incgui_v4.mqh (504.16 KB)

📎 inccolors.mqh (20.48 KB)

📎 etestcolordialog.mq5 (2.33 KB)

Source: MQL5 #889

Verification code Refresh