I need to be able to allow users to resize a line object on a screen at runtime. Is there a way to get the form mousedown event or an API to recognize a line object if a mousedown occurs within about 60 twips of the line object? Once I get the line object index number I will then place little picture boxes at each end to handle the resizing.

Or would it be easier to create a line object with the appropriate events. Any examples of this would be greatly appreciated.
Thanks.