problem with mouse wheel event

 
Hi everyone

I apologize for my poor English.

why  CHARTEVENT_MOUSE_WHEEL not working in mql4?

int OnInit()
  {
   ChartSetInteger(0,CHART_EVENT_MOUSE_WHEEL,true);

   return(INIT_SUCCEEDED);
  }

void OnChartEvent(const int id,const long &lparam,const double &dparam,const string &sparam)
  {
 if(id == CHARTEVENT_MOUSE_WHEEL)
 {
   // do something // not work
 }

If it is not possible, how can I detect mouse wheel rotate by external DLL like "user32.dll" or "winuser.h" ?

 
somebody help please !!!
 
msh2714 #:
somebody help please !!!

There is  German forum / Es gibt ein deutsches Forum: https://www.mql5.com/de/forum.

If you place your cursor on CHARTEVENT_MOUSE_WHEEL and press F1 you open the doc for your problem and there is even and example at the bottom of the page.
Wenn Sie den Cursor auf CHARTEVENT_MOUSE_WHEEL setzen und F1 drücken, öffnen Sie das Dokument für Ihr Problem und es gibt sogar ein Beispiel am Ende der Seite.

delta is what you need I guess. / delta ist das, was Sie brauchen, denke ich.
Forum für Händler - MQL5.community
Forum für Händler - MQL5.community
  • www.mql5.com
MQL5: Forum über Handel, automatische Handelssysteme und Strategietests
Reason: