W
What-a-Tool
Have code that is called by my form re-size event. While the form borders
are being dragged back and forth, this code will run continuosly, when it
really only needs to run at the end of the re-size event.
Someone on the Windowsforms group suggested testing in the re-size event to
see if the mouse button is down - when it is released run the code. (at
least that is how I understood it).
I can't figure out how to detect mouse events which occur on the forms
borders, however. (Nor from within a re-size event, which is over when the
mouse is released, anyway)
Can anyone suggest a method for running my code at the end of a re-size? (or
when my mouse is released at the end of a re-size?)
Thanks
--
/ Sean the Mc /
"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)
are being dragged back and forth, this code will run continuosly, when it
really only needs to run at the end of the re-size event.
Someone on the Windowsforms group suggested testing in the re-size event to
see if the mouse button is down - when it is released run the code. (at
least that is how I understood it).
I can't figure out how to detect mouse events which occur on the forms
borders, however. (Nor from within a re-size event, which is over when the
mouse is released, anyway)
Can anyone suggest a method for running my code at the end of a re-size? (or
when my mouse is released at the end of a re-size?)
Thanks
--
/ Sean the Mc /
"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)