Download MetaTrader 5
To add comments, please log in or register
Your conversation partner speaks foreign language? Automatic translation will help you!
rod178
276
rod178 2015.03.28 05:00 

I'm searching for a way to change, at run time, the MessageBox font to unispace eg "Courier New".

The reason being that I desire to output columns of numbers, which I want to right justify. 

peter.MT4Web
158
peter.MT4Web 2015.03.28 10:57  

Hi rod178!

The MessageBox is the Windows MessageBox. - you have to change the System Fonts.

Use \t and \n to format the text.

rod178
276
rod178 2015.03.28 12:33  
eddie:

Hi rod178!

The MessageBox is the Windows MessageBox. - you have to change the System Fonts.

Use \t and \n to format the text.


Thanks for the response.

 

Already use \t and \n, the issue is that I still require a font such as "Courier New".  

 

I should have realise that MT4 was just using a Windows MessageBox.  Need to change the font at runtime, so maybe will have a look WinAPI.

/
To add comments, please log in or register