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

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 19/04/2000
// Last modification: 08/10/2003
// Project Intruder Position Indicator
// SUBSYSTEM: AboutDlg
// FILE: AboutDlg.cpp
// AUTHOR: Chizhevskiy Sergey
// OVERVIEW
// ~~~~~~~~
// Source file of class CAboutDlg
//----------------------------------------------------------------------------
#include "stdafx.h"
#include "..\LgLib\Version.h"
#include "AboutDlg.h"
// Mesage handler for about box. 23/04/2001
BOOL CALLBACK AboutDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
{
_TCHAR pszBuffer[0x526];
switch (message)
{
case WM_INITDIALOG:
// Get last build date and time
_sntprintf( pszBuffer, 0x526, _T("Built on %s"), CLgVersion::GetBuildTimeStr() );
::SetWindowText(::GetDlgItem(hdlg, IDC_LAST_BUILD_TIME ), pszBuffer);
return TRUE;
case WM_COMMAND:
if(LOWORD(wParam) == IDOK)
{
EndDialog(hdlg, LOWORD(wParam));
return TRUE;
}
break;
}
return FALSE;
}