Simple and does what it says. Two small things. The wheel still scrolls the chart as well, so every notch zooms and scrolls at once. Checking Ctrl in the key flags ((int)(lparam>>32) & 8) and zooming only on Ctrl+wheel would keep normal scrolling. Also there's no OnDeinit, so CHART_EVENT_MOUSE_WHEEL stays on after you remove it. Worth switching it back off there.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Mouse Scroll Zoom in Zoom Out:
Mouse Scroll Zoom in Zoom Out
Author: Rajesh Kumar Nait