// DlgTriggerPoint.cpp : implementation file // #include "stdafx.h" #include "worldcreator.h" #include "DlgTriggerPoint.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDlgTriggerPoint dialog CDlgTriggerPoint::CDlgTriggerPoint(CWnd* pParent /*=NULL*/) : CDialog(CDlgTriggerPoint::IDD, pParent) { //{{AFX_DATA_INIT(CDlgTriggerPoint) m_xPos = 0.0f; m_yPos = 0.0f; m_zPos = 0.0f; //}}AFX_DATA_INIT } void CDlgTriggerPoint::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CDlgTriggerPoint) DDX_Text(pDX, IDC_EDIT_XPOS, m_xPos); DDX_Text(pDX, IDC_EDIT_YPOS, m_yPos); DDX_Text(pDX, IDC_EDIT_ZPOS, m_zPos); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CDlgTriggerPoint, CDialog) //{{AFX_MSG_MAP(CDlgTriggerPoint) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CDlgTriggerPoint message handlers BOOL CDlgTriggerPoint::OnInitDialog() { CDialog::OnInitDialog(); UpdateData( FALSE ); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }