Form slow to repaint after closing modal dialog



In VS2005, my VB.Net app opens a small modal dialog (centered on parent
form with a spinning wheel and a little text) to indicate that a file is
being loaded. The dialog stays visible for a couple of seconds and then

My problem is that, when the dialog closes, the underlying controls
appear slow to repaint. i.e. my dialog seems to disappear from the
screen a little at a time. It is on the borderline of being noticeable.

I am wondering if anyone has any suggestions on how to make things speed
up a little. I already have my main form and the dialog double-buffered.

Thanks for any suggestions...

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question