コード例 #1
0
ファイル: secu-3about.cpp プロジェクト: fredcooke/secu3man
//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
ファイル: secu-3about.cpp プロジェクト: fredcooke/secu3man
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
ファイル: secu-3about.cpp プロジェクト: ashabelnikov/secu3man
//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
ファイル: secu-3about.cpp プロジェクト: ashabelnikov/secu3man
void ABOUT_API DisplayAbout(CWnd* i_pParent)
{
 AboutStc(i_pParent, hInstance, (LPCTSTR)IDB_BITMAP0001, (LPCTSTR)IDR_RGN0001,
  BuildSoftwareInfoStr(), MLL::LoadString(IDS_AUTHOR_INFO));
}