waitcursor after Splash Screen

G

Guest

I'm using the information found here about creating a splash screen on a
separate thread.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/casoast.asp

Everything works find, the screen comes up and goes away. I kill the splash
thread near the end of the processing done in my mainForm_load event handler.

The problem is that the waitcursor begins being displayed once the splash
screen is closed and will not go away until I bring up another dialog (like
an Open File Dialog). The form is ready to go, but the waitcursor won't go
away.

Any ideas?

Thanks
-G
 
A

Alex Feinman [MVP]

You have to set cursor to Cursors.Default explicitly. I usually do it at the
end of Form.Load
 
G

Guest

Thanks Alex.

I've tried to set the cursor to default in several places, all to no avail.
At the end of my _load, I have a method call that brings up a Open File
Dialog so I put a "Cursor.Current = Cursors.Default;" before and after the
method call. It keeps the wait cursor up regardless. I've even put one at
the beginning of my Open method.

I'm at a total loss here.

Any other ideas would be greatly appreciated.

Thanks
-G
 

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

Top