SpinEdit looks like being disabled.
Maybe too old now, but here is the solution for everyone else, having this issue:
The SpinEdit Box is "disabled", because nothing listening for it events. You must check for events in the OnChartEvent() funktion.
void OnChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam) { m_spin_edit.OnEvent(id,lparam,dparam,sparam); //<-- this is the important part! }
now you should be able to click it
Hello everyone.
I am trying to create a SpinEdit in my EA code. Although it is shown on the chart but seems like it is disabled and the value cannot be changed.
Thanks for your help.