OBJPROP_STATE
https://www.mql5.com/en/docs/standardlibrary/controls/cbutton/cbuttonpressed
Documentation on MQL5: Standard Library / Panels and Dialogs / CButton / Pressed
- www.mql5.com
Standard Library / Panels and Dialogs / CButton / Pressed - Reference on algorithmic/automated trading language for MetaTrader 5
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
I want to reference a button in a panel from the onTick() function. Just do not know how to ask for example for a button state.
I just have an ExtDialog reference, I have not CAppWindowThreeButtons reference.
If I create an instance of the class in onTick()
CAppWindowThreeButtons caw;
it does not work.
Anybody has an idea how to ask for a button state in a panel from onTick() function?