i need some programming help.in my widows form application i need to put my mouse pointer somewhere and then drag the mouse over the form in any direction.what my requirement is it should create a virtual square.and then i should be able to measure the dimensions of that square. i don't know my problem is clear enough.
simply i want to make square shaped selection area with the mouse dragging.it should be visualized so that i could see that area is selected anyway.and then i need to measure the dimensions of that area.(lengths of x and y directions)but that selection should not be static.after clicking the mouse it should be cleared.
i did google searching but could not get some better explanations.please can some body help me with some code snippet.
thanks
kind regards
sudhara