Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 19/04/2000
  5. // Last modification: 08/10/2003
  6. // Project Intruder Position Indicator
  7. // SUBSYSTEM: AboutDlg
  8. // FILE: AboutDlg.cpp
  9. // AUTHOR: Chizhevskiy Sergey
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Source file of class CAboutDlg
  13. //----------------------------------------------------------------------------
  14. #include "stdafx.h"
  15. #include "..\LgLib\Version.h"
  16. #include "AboutDlg.h"
  17. // Mesage handler for about box. 23/04/2001
  18. BOOL CALLBACK AboutDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
  19. {
  20. _TCHAR pszBuffer[0x526];
  21. switch (message)
  22. {
  23. case WM_INITDIALOG:
  24. // Get last build date and time
  25. _sntprintf( pszBuffer, 0x526, _T("Built on %s"), CLgVersion::GetBuildTimeStr() );
  26. ::SetWindowText(::GetDlgItem(hdlg, IDC_LAST_BUILD_TIME ), pszBuffer);
  27. return TRUE;
  28. case WM_COMMAND:
  29. if(LOWORD(wParam) == IDOK)
  30. {
  31. EndDialog(hdlg, LOWORD(wParam));
  32. return TRUE;
  33. }
  34. break;
  35. }
  36. return FALSE;
  37. }