添加SplashScreen控件;
可以修改资源文件 IDB_SPLASH 成你想要的启动画面;
在int CSplashWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CWnd::OnCreate(lpCreateStruct) == -1)
return -1;
// Center the window.
CenterWindow();
// Set a timer to destroy the splash screen.
SetTimer(1, 3000, NULL);
return 0;
}
SetTimer()第二个参数处可以修改为你想启动画面显示的时间