OnDisplay
This event method is called when a point is selected whether or not it was actually being picked. It may actually be called multiple times when the point is selected. Derived classes can implement their own functionality for this event method. It can be used for supplemental display of information related to the point including customizing output to the Data Display window.
Note: When overriding in a derived class, it is not necessary to prepend the declaration with the virtual keyword.
virtual void OnDisplay(string& str, int nPoint)
For an example of using this event method, please see the Example Section in GetGraphPoints.
origin.h