By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,853 Members | 2,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,853 IT Pros & Developers. It's quick & easy.

How do I create a splash window?

P: 11
In BCB I created a splash window as a starting window of my application program. I setup a timer on the splash window so that it can be automatically closed after showing up some times and then my main program form comes up. However, my main program form keeps created in the same time interval as the splash window maintaining. I guess the timer on the splash window is still working because I used the following sentences to create my main window when the splash window is closed:

Application->CreateForm(__classid(TMainForm),&MainForm);
MainForm->WindowState=wsNormal;
MainForm->ShowModal();

Can any body tell me how to avoid this happening? Do I need to destory the splashwindow totally?

Thanks,
Jun 18 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.