Hello,
according to the documentation (https://docs.mql4.com/constants/io_constants/messbconstants)
"The main flags of the MessageBox() function define contents and behavior of the dialog window. This value can be a combination of the following flag groups:"
But when I try this:
I get a Box with "Retry" and "Cancel".
Same result when i try with MB_YESNO | MB_OKCANCEL
Hello,
I guess it means that we can have a combination of flags from the "following three groups", so one of each group: button, icon, default button
I thought the same, however the last line on that page shows this:
0x00000300 |
The fourth button is default |
So there must be a way to get a fourth button somehow.
I thought the same, however the last line on that page shows this:
0x00000300 |
The fourth button is default |
So there must be a way to get a fourth button somehow.
It looks like a Windows case, I read this https://blogs.msdn.microsoft.com/oldnewthing/20081219-00/?p=19773
greets

- 2008.12.19
- Raymond Chen - MSFT
- blogs.msdn.microsoft.com
Messages Editor
It looks like a Windows case, I read this https://blogs.msdn.microsoft.com/oldnewthing/20081219-00/?p=19773
greets
Thanks for your comments and the info/link. I'll read that later on.
Regards

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
according to the documentation (https://docs.mql4.com/constants/io_constants/messbconstants)
"The main flags of the MessageBox() function define contents and behavior of the dialog window. This value can be a combination of the following flag groups:"
But when I try this:
I get a Box with "Retry" and "Cancel".
Same result when i try with MB_YESNO | MB_OKCANCEL
Anybody know how to get the combined flags to work?