|
// GridSettingsDlg.cpp : implementation file
//
// Author : David Shepherd
// Copyright (c) 2002, DaeDoe-Software
//
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "MFCDemo.h"
#include "GridSettingsDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGridSettingsDlg dialog
CGridSettingsDlg::CGridSettingsDlg(CWnd* pParent /*=NULL*/)
: CDialog(CGridSettingsDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CGridSettingsDlg)
m_Width = 0;
m_Height = 0;
//}}AFX_DATA_INIT
}
void CGridSettingsDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CGridSettingsDlg)
DDX_Text(pDX, IDC_GRID_WIDTH, m_Width);
DDV_MinMaxUInt(pDX, m_Width, 2, 16);
DDX_Text(pDX, IDC_GRID_HEIGHT, m_Height);
DDV_MinMaxUInt(pDX, m_Height, 2, 16);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CGridSettingsDlg, CDialog)
//{{AFX_MSG_MAP(CGridSettingsDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGridSettingsDlg message handlers
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.