Splash screen

  • Thread starter Thread starter wayne
  • Start date Start date
W

wayne

How to display a splash screen(with a sentence of word) just before
display of the main screen(MDI application) using visual c++??

thanks
 
wayne said:
How to display a splash screen(with a sentence of word) just before
display of the main screen(MDI application) using visual c++??

In InitInstance or OnInitDialog of your main form do something like:

Splash* splash = new Splash(this);
splash->Create();
Sleep(3000);
delete splash;

And Splash is just a simple class derived from CDialog with no Border a
Bitmap on it.

B.
 
Back
Top