Hi
I want to check if the mouse position is inside an annotation
on the chart when the user clicks on the left mouse button.
I need to get the rect of the annotation but in VC++ I cannot
find a Class/Method to retrieve this information.
Can anyone help.
Thanks
Mark
AnnotationTool - TeeRect
you can use the Clicked function of the annotation tool.
It needs the mouse X and Y co-ordinates as parameters and returns TRUE if those parameters are inside the annotation rectangle and false otherwise.
The mouse co-ordinates are in the MousePosition property of your ITChart object.
The MousePosition is a ITeePoint2D object which has 2 properties : X and Y.
That's all.
bye
It needs the mouse X and Y co-ordinates as parameters and returns TRUE if those parameters are inside the annotation rectangle and false otherwise.
The mouse co-ordinates are in the MousePosition property of your ITChart object.
The MousePosition is a ITeePoint2D object which has 2 properties : X and Y.
That's all.
bye