It creates and shows a message box and manages it. A message box contains a message and header, any combination of predefined signs and command buttons.
[in] Text, containing message to output.
[in] Optional text to be displayed in the box header. If the parameter is empty, Expert Advisor name is shown in the box header.
[in] Optional flags defining appearance and behavior of a message box. Flags can be a combination of a special group of flags.
If the function is successfully performed, the returned value is one of values of MessageBox() return codes.
The function can't be called from custom indicators, because indicators are executed in the interface thread and shouldn't slow it down.
MessageBox() function does not work in the Strategy Tester.