It'll take a little bit o'code, but I know JavaScript will render it quickly enough that it will not 'seem' like you're drawing four lines.
You'll be creating four layers, one pixel wide. Make a function that takes an upper left coordinate and a lower right coordinate, and adjusts the length and position of four layers. The layers are 1 pixel wide, and their length depends on the coordinates to the function. Then, in your dragEvents, simply call that function with the beginpoint and the current coordinates of the mouse. The four layers will update to make the box 'enlarge' or 'reduce' quite nicely. As for the X marking a click-down event, that should be relatively easy, either with a transparent GIF or with two criss-crossed layers of 1 pixel wide, 10 pixels long. That's how I'd do it. Does anyone know how to create a transparent layer, the border of which would be your bounding box? That would take less code. -Jared ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help