www.pudn.com > final_6.rar > SetPoint.cpp
// SetPoint.cpp : implementation file
//
#include "stdafx.h"
#include "CG.h"
#include "SetPoint.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetPoint dialog
CSetPoint::CSetPoint(CWnd* pParent /*=NULL*/)
: CDialog(CSetPoint::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetPoint)
m_blue = 0;
m_green = 0;
m_red = 0;
//}}AFX_DATA_INIT
}
void CSetPoint::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetPoint)
DDX_Text(pDX, IDC_BLUE, m_blue);
DDV_MinMaxInt(pDX, m_blue, 0, 255);
DDX_Text(pDX, IDC_GREEN, m_green);
DDV_MinMaxInt(pDX, m_green, 0, 255);
DDX_Text(pDX, IDC_RED, m_red);
DDV_MinMaxInt(pDX, m_red, 0, 255);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetPoint, CDialog)
//{{AFX_MSG_MAP(CSetPoint)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetPoint message handlers