I'm MQL developer. It's some days that I want to enable/disable some features of Metatrader4 using some keys. Specifically I want to Enable/Disable "TrendLine Drawing", "vertical line drawing" and "horizontal line drawing" buttons but I didn't find related info on the web. As I know we can do similar task by importing User32.dll and using PostMessageA(int hWnd, uint Msg, int wParam, int lParam) function.
Can you help me which parameters will work for me?