Download MetaTrader 5

wm command to switch profiles problem

To add comments, please log in or register
Need mobile version of MetaTrader 5? Download it and trade!
Mom_markets1
88
Mom_markets1 2013.01.30 03:40 

I have been able to get almost every wm command to work except this one:


 PostMessageA(hndl, WM_COMMAND, 34100, 0); // for the first profile

 

is there a different function I should be using? is PostMessageA correct?  

Mom_markets1
88
Mom_markets1 2013.01.30 03:44  
this is the file I am using/
Files:
Kashif Javed
1127
Kashif Javed 2016.11.24 05:51  
Now this command is not working. Please any one can help to with this. I have to change profile using a script.
honest_knave
Moderator
2152
honest_knave 2016.11.24 09:04  
Kashif Javed:
Now this command is not working. Please any one can help to with this. I have to change profile using a script.

After Build 600, you need to use PostMessageW not PostMessageA (unicode not ANSI)

To add comments, please log in or register