MT5 equivalent of MT4_WMCMD_ALL_HISTORY?

 

I'm looking for a way to set terminal history to "all time" in MT5. In MT4 this can be done like this: https://www.mql5.com/en/forum/138127#comment_3497453

In MT5 it's not working - I understand that due to a different value that has to be passed to PostMessageA. Since I cannot find it I decided to ask if anybody know the value of equivalent of MT4_WMCMD_ALL_HISTORY for MT5 to work in the same way as in MT4?

 
After some investigation with Spy++ I noticed, that there is no WM_COMMAND message detected when setting "All history" in MT5. Does it mean there is no chance to set this option using WinApi call?