How to check current cursor type
How to check if cursor is in crosshair mode, so I can display additional information next to the built-in ones.
You can't, build your own cross hair.
In this case, is there a way to intercept the mouse middle button press and/or ctrl+f to use my own cursor?
you can't. you can only capture single keystrokes e.g. "F" using CHARTEVENT_KEYDOWN. Here is an example used in OnChartEvent function.
I wonder how's that done, it seems to use the original crosshair, and it can be triggered using Ctrl+F:
https://www.mql5.com/en/market/product/7985
- 15.00 USD
- 2015.02.11
- Romeu Bertho
- www.mql5.com
I wonder how's that done, it seems to use the original crosshair, and it can be triggered using Ctrl+F:
https://www.mql5.com/en/market/product/7985
How to check if cursor is in crosshair mode, so I can display additional information next to the built-in ones.