Resize Chart Window event
Frika:
Hello,
I want to place a button with mt4gui lib on the right side. And with this lib is not possible to choose the "CORNER _RIGHT_UPPER".
So I have to recalculate the Chart size, but I don´t wanna do this every tick but if the chart window is resized only.
I want to know if there is a trigger that noticed when my chart window is resized.
Thank you
Hello,
I want to place a button with mt4gui lib on the right side. And with this lib is not possible to choose the "CORNER _RIGHT_UPPER".
So I have to recalculate the Chart size, but I don´t wanna do this every tick but if the chart window is resized only.
I want to know if there is a trigger that noticed when my chart window is resized.
Thank you
void OnChartEvent(const int id, const long& lparam, const double& dparam, const string& sparam)
{
if(id==CHARTEVENT_CHART_CHANGE)
{
if(id==CHARTEVENT_CHART_CHANGE)
honest_knave:
Thank you, that´s it what I was searching for
void OnChartEvent(const int id, const long& lparam, const double& dparam, const string& sparam)
{
if(id==CHARTEVENT_CHART_CHANGE)
{
if(id==CHARTEVENT_CHART_CHANGE)
I want to place a button with mt4gui lib on the right side. And with this lib is not possible to choose the "CORNER _RIGHT_UPPER".
So I have to recalculate the Chart size, but I don´t wanna do this every tick but if the chart window is resized only.
I want to know if there is a trigger that noticed when my chart window is resized.
Thank you