67 lines
930 B
C++
67 lines
930 B
C++
// MsgHandleDlg.cpp : 实现文件
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "Fast.h"
|
|
#include "BaseCamera.h"
|
|
#include "afxdialogex.h"
|
|
|
|
|
|
#define TIMER_LOGIN 10
|
|
#define TIMER_CLEAR_RECORD 22
|
|
|
|
|
|
// CMsgHandleDlg 对话框
|
|
|
|
IMPLEMENT_DYNAMIC(CBaseCamera, CDialog)
|
|
|
|
CBaseCamera::CBaseCamera(int nIdx, CWnd* pParent /*=NULL*/)
|
|
: CDialog(IDD_DLG_CAM, pParent)
|
|
{
|
|
m_nCameraIdx = nIdx;
|
|
m_pParentWnd = pParent;
|
|
}
|
|
|
|
CBaseCamera::~CBaseCamera()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void CBaseCamera::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CBaseCamera, CDialog)
|
|
ON_WM_DESTROY()
|
|
ON_WM_TIMER()
|
|
END_MESSAGE_MAP()
|
|
|
|
|
|
// CMsgHandleDlg 消息处理程序
|
|
|
|
|
|
BOOL CBaseCamera::OnInitDialog()
|
|
{
|
|
CDialog::OnInitDialog();
|
|
return TRUE; // return TRUE unless you set the focus to a control
|
|
}
|
|
|
|
|
|
void CBaseCamera::OnDestroy()
|
|
{
|
|
CDialog::OnDestroy();
|
|
}
|
|
|
|
void CBaseCamera::OnTimer(UINT_PTR nIDEvent)
|
|
{
|
|
CDialog::OnTimer(nIDEvent);
|
|
}
|
|
|
|
|
|
|
|
|
|
|