Can we create more than 2 buttons in a msgbox in mql5?

Can we create more than 2 buttons in a msgbox in mql5?

Manage alerts

Loading saved threads...

Jo Jomax · External communityPost link
External question — Stack Overflow Stack Exchange Author: Jo Jomax Original post: https://stackoverflow.com/questions/79577319 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. With the command msgbox we can create a msgbox that has two buttons "Yes" or "No". But Can we create more than 2 buttons (for example 6 buttons) in a msgbox(by mql5)?
Quote
Report
PaulB · External communityPost link
External answer — Stack Overflow Stack Exchange Author: PaulB Original post: https://stackoverflow.com/a/79577478 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. As per the documentation for the MessageBox() function, you are restricted to the predefined flags which dictate which buttons and combinations thereof you can have: MB_OK - Message window contains only one button: OK. MB_OKCANCEL - Message window contains two buttons: OK and Cancel MB_ABORTRETRYIGNORE - Message window contains three buttons: Abort, Retry and Ignore MB_YESNOCANCEL - Message window contains three buttons: Yes, No and Cancel MB_YESNO - Message window contains two buttons: Yes and No MB_RETRYCANCEL - Message window contains two buttons: Retry and Cancel MB_CANCELTRYCONTINUE - Message window contains three buttons: Cancel, Try Again, Continue
Quote
Report

Post Reply

Checking account access…