How to maximise your chart automatically ?
f11
I mean automatically from out of my EA
I mean automatically from out of my EA
Then in future, please make yourself clear.
I mean automatically from out of my EA
The answer is the same, simulate F11 in your code with WINAPI. There is no mql function to do that.
Thanks for the replies !
It should be nice to add this option to the Chart functions.
Hi,
To be using the WINAPI I have done:
#include <WinAPI\winapi.mqh> #include <VirtualKeys.mqh>
and added the commands :
// SIMULATION OF 'F11' KEY keybd_event(VK_F11, 0, 0, 0); keybd_event(VK_F11, 0, KEYEVENTF_KEYUP , 0);
This compiles with no errors.
But when I load my EA on the chart I get a message : "DLL loading is not allowed"
Although the "Allow DLL imports" is activated in the "Tools" section and when I look in the dependencies the DLL is also activated.
Can somebody help me out ?
Hi,
Is there a command or a way to maximise a chart to full screen size ?
Thx for your reactions !
Danny