Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 04:40:03 +0000



Post From: Displaying an image on a trading chart

[2018-06-26 20:10:19]
User906224 - Posts: 14
If an image is displayed in this manner using GDI direct access and we turn on mouse events for all tools, and a click event is received, we can access sc.ActiveToolIndex for the bar index or sc.ActiveToolYPosition for the vertical position in pixels, but is there a corresponding property to give us back the horizontal pixel position of the click in pixels within the area on which we have drawn? This would enable us to determine if the image we have drawn has been clicked, as it may not correspond to a specific bar e.g. if it's always in a chart corner or is an irregular shape, etc.
Date Time Of Last Edit: 2018-06-26 20:13:21