www.pudn.com > 球和立方体.rar > TreeDialog.cpp


/************************************************************************************* 
*TreeDialog.cpp 
*************************************************************************************** 
*File name: 
*TreeDialog.cpp 
*Description: 
*This module control display dialog 
*Revised History: 
*1.0 2003.10.18 New Creation 
*Designer: 
*Tommy.leung 
*Execution environment:VC++6.0 
*OS:Windows 98 
*References: 
* 
*Copyright(C) 2003 VOYAGER Corporation. All Rights Reserved. 
***************************************************************************************/ 
 
#include "stdafx.h" 
#include "MultiViewsTest.h" 
#include "TreeDialog.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CTreeDialog dialog 
 
 
CTreeDialog::CTreeDialog(CWnd* pParent /*=NULL*/) 
	: CDialog(CTreeDialog::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CTreeDialog) 
	m_fPositionX = 0.0f; 
	m_fPositionZ = 0.0f; 
	m_fPositionY = 0.0f; 
	m_fPositionSize = 0.0f; 
	// NOTE: the ClassWizard will add member initialization here 
	//}}AFX_DATA_INIT 
} 
 
 
void CTreeDialog::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CTreeDialog) 
	DDX_Text(pDX, IDC_EDIT_X, m_fPositionX); 
	DDX_Text(pDX, IDC_EDIT_Y, m_fPositionZ); 
	DDX_Text(pDX, IDC_EDIT_Z, m_fPositionY); 
	DDX_Text(pDX, IDC_EDIT_SIZE, m_fPositionSize); 
	// NOTE: the ClassWizard will add DDX and DDV calls here 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CTreeDialog, CDialog) 
	//{{AFX_MSG_MAP(CTreeDialog) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CTreeDialog message handlers