I am writing an app. which requires the user to select on screen graphics objects which can be lines, rectangles, odd-shaped polygons etc. Have used API calls like 'PtInRegion' to sort out most of the objects but am stuck on Line objects.
Is there an API function to determine whether a point is on a straight line with known end points? If not...
Can someone reccommend a good approach in VB6.
Thanks in advance