MessageBox
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.
int MessageBox( |
Parameters
text
[in] Text, containing message to output.
caption=NULL
[in] Optional text to be displayed in the box header. If the parameter is empty, Expert Advisor name is shown in the box header.
flags=0
[in] Optional flags defining appearance and behavior of a message box. Flags can be a combination of a special group of flags.
Return Value
If the function is successfully performed, the returned value is one of values of MessageBox() return codes.
Note
The function can't be called from custom indicators, because indicators are executed in the interface thread and shouldn't slow down it.
© 2000-2010, MetaQuotes Software Corp.