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
Hi,
I have an array of CButton and I want to handle an OnClick event on the right button index.
I try to use ON_INDEXED_EVENT
this #define ON_INDEXED_EVENT is defined in <Includes/Controls/Defines>
it searches an array of controls but it returns handler(i) when as I understand is inside a bool OnEvent(const int id,const long& lparam,const double& dparam,const string& sparam) method
so it returns an object and not a bool type.
Anyone might have a clue where I'm getting it wrong will be appreciated.