views:

70

answers:

1

I have a winform project with a splash form (as described in the first answer of this question : http://stackoverflow.com/questions/510765/c-winforms-startup-splash-form-not-hiding).

When I use this splashform the mainform loose the focus. I want to bring it to the front as soon as I close the splashform with Form.BringToFront() but it does'nt work.

Anybody can help?

+2  A: 

Raymond Chen just addressed this issue with Win32 programs in his blog today.

Basically, you need to show your main form and call BringToFront on it before closing your splashscreen.

R. Bemrose