D
David Adams
Hi,
I have an application that recently has received a few complaints because of
slow repainting/refreshing of certain forms. For example, I am throwing up
a messagebox that prompts the user to perform an operation, if the user
clicks yes, I perform the operation which is rather resource intensive. The
problem is the messagebox that was clicked partially remains in the
background after it was clicked (refresh/repaint issue). If I use the old
school DoEvents() it helps but am not sure if this is the best way to solve
this problem.
Thanks,
Dave
I have an application that recently has received a few complaints because of
slow repainting/refreshing of certain forms. For example, I am throwing up
a messagebox that prompts the user to perform an operation, if the user
clicks yes, I perform the operation which is rather resource intensive. The
problem is the messagebox that was clicked partially remains in the
background after it was clicked (refresh/repaint issue). If I use the old
school DoEvents() it helps but am not sure if this is the best way to solve
this problem.
Thanks,
Dave