UCM
Centurion
Does anyone know of a way to detect when the user finishes resizing a form so that if processor intensive code can be run at that point?
basically, I have a sub that runs it's code in about 1.5 seconds...
it scans the width and height of form1 and readjusts the controls on it accordingly for visual appearance...
the _Resize event runs every time the form has begun to resize so the code runs as long as the user has the mouse button down...
if they need to resize the window a bit but then resize it again and again, it bogs down the system and appears quite annoying to an end user...
------------
If we could detect when the user lets the left mouse button go and THen run the code, the result would be much better... the contents in the form1 will look skewed until they get done resizing the form and let the mouse button go, then it re does the control structure in the form to look pretty...
------------
Any ideas?
basically, I have a sub that runs it's code in about 1.5 seconds...
it scans the width and height of form1 and readjusts the controls on it accordingly for visual appearance...
the _Resize event runs every time the form has begun to resize so the code runs as long as the user has the mouse button down...
if they need to resize the window a bit but then resize it again and again, it bogs down the system and appears quite annoying to an end user...
------------
If we could detect when the user lets the left mouse button go and THen run the code, the result would be much better... the contents in the form1 will look skewed until they get done resizing the form and let the mouse button go, then it re does the control structure in the form to look pretty...
------------
Any ideas?