oh..
then just save the mouse position where you clicked first time and stretch the sprite to the next location, like:
int oldmousex;
int oldmousey;
bool got_starting_coords = false;
//...
if ( dbMouseClick() )
{
if ( !got_starting_coords )
{
oldmousex = dbMouseX();
oldmousey = dbMouseY();
got_starting_coords = true;
}
dbSprite ( sprite, oldmousex, oldmousey, image );
dbStretchSprite ( sprite, oldmousex+dbMouseX(), oldmousey+dbMouseY());
}
else
got_starting_coords = false;
something like that ( or just use dbBox.. )
edit: and to select sprites within the box check if the stretched sprite is colliding with any other sprites and save them in a structure or a vector.