Hi Sergei,
If the mouse is in "Zoom In" mode, and the mouse is over the plot area, it will change to a magnifying glass icon with a "+" sign in it. However, if it is impossible to zoom in anymore because the chart has already reached the maximum zoom in limit, the icon will change to an empty magnifying glass. See:
http://www.advsofteng.com/doc/cdnet.htm#WinChartViewer.ZoomInWidthLimit.htm
If the mouse is in "Zoom In" mode, and the mouse is over the plot area, it will change to a magnifying glass icon with a "-" sign in it. However, if it is impossible to zoom out anymore, such as if the chart has already been displaying the full data range, the icon will change to an empty magnifying glass.
So to determine the mouse cursor, you can check if the current MouseUsage, and check if the ViewPortWidth has already reached the ZoomInLimit (for zoom in), or if the ViewPortWidth has already reached 1 (for zoom out).
Hope this can help.
Regards
Peter Kwan |