示例#1
0
//timeToshow - How long show splash screen, in milliseconds.
void ABOUT_API DisplaySplash(int timeToShow)
{
 USES_CONVERSION;
 CString string; CString templ = MLL::LoadString(IDS_SOFTWARE_INFO);
 string.Format(templ, A2T(__DATE__)); //compiler uses only ASCII format...

 AboutStc(CWnd::GetDesktopWindow(), hInstance, (LPCTSTR)IDB_BITMAP0001, (LPCTSTR)IDR_RGN0001,
	 string, MLL::LoadString(IDS_AUTHOR_INFO), true, timeToShow);
}
示例#2
0
void ABOUT_API DisplayAbout(CWnd* i_pParent)
{
 USES_CONVERSION;
 CString string; CString templ = MLL::LoadString(IDS_SOFTWARE_INFO);
 string.Format(templ, A2T(__DATE__)); //compiler uses only ASCII format...

 AboutStc(i_pParent, hInstance, (LPCTSTR)IDB_BITMAP0001, (LPCTSTR)IDR_RGN0001,
	 string, MLL::LoadString(IDS_AUTHOR_INFO));
}
示例#3
0
//timeToshow - How long show splash screen, in milliseconds.
void ABOUT_API DisplaySplash(int timeToShow)
{
 AboutStc(CWnd::GetDesktopWindow(), hInstance, (LPCTSTR)IDB_BITMAP0001, (LPCTSTR)IDR_RGN0001,
  BuildSoftwareInfoStr(), MLL::LoadString(IDS_AUTHOR_INFO), true, timeToShow);
}
示例#4
0
void ABOUT_API DisplayAbout(CWnd* i_pParent)
{
 AboutStc(i_pParent, hInstance, (LPCTSTR)IDB_BITMAP0001, (LPCTSTR)IDR_RGN0001,
  BuildSoftwareInfoStr(), MLL::LoadString(IDS_AUTHOR_INFO));
}