Splash screen

How to add splash screen to show info when starting app?
phillip_luAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
vattalConnect With a Mentor Commented:
Go to Project menu - "Add to Project" - "Components and Controls" double click on "Developer Studios Components". Double click on Splash Screen. Click OK for the message box popped. It will create a .cpp and .h file.
Close the dialog box.
Now go to resource. double click Bitmap. By default it will add IDB_SPLASH Bitmap. U can change the bitmap on it.

In the initinstance add the following code

CSplashWnd* pSplashWnd = new CSplashWnd;
pSplashWnd->EnableSplashScreen(TRUE);
pSplashWnd->ShowSplashScreen(pMainFrame);
Sleep(5000);

include the correspond .h file.
Hope this helps. If U have still some problem I can send U sample application

Adarsh S

0
 
phillip_luAuthor Commented:
Thank you very much!
0
All Courses

From novice to tech pro — start learning today.