I'm working on a similar project - using standard C-script (No SDK).

Ventilator's code is great - however, it doesn't provide the ability to treat a line as an "object" in an object list.

Why would you need an object? - for reference purposes.
How could you move a static line? Move an endpoint?

You'll need an object list to store the items you've drawn onscreen.
Store the object's handle into this list, then you can move, resize, delete, etc...

A further benefit: If properly scripted, the Mouse can give you the entity clicked on.... (line, circle, box, etc..)


I'm not saying I have it all figured out - but I have a lot of the logic ground work laid out...

-Neut.



Dreaming ain't Doing..!
<sigh> Darn semicolons - I always manage to miss at least 1..!