Hi Mike,
Thanks for you input, I have check out the sample graphcursor.prj and not able to use that sample to
solve the problem. Attach is the source file for your reference. The purpose of the program is
to collect ethernet data and display the target with x, y coordinate which represent the range and degree from North and also the ID and altitude data associate with this xy point. When I ran the GetGraphCursorIndex, I got a ( -1) value, indicating the cursor is not attached to the plot. The plotpoint routine is run from a menuitem, and the GetGraphCursor is run from the panel control. Thanks for your help.
Rosa Leung