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
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!