// PropPage1.cpp : implementation file // #include "stdafx.h" #include "ylgl.h" #include "PropPage1.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // PropPage1 dialog PropPage1::PropPage1(CWnd* pParent /*=NULL*/) : CDialog(PropPage1::IDD, pParent) { //{{AFX_DATA_INIT(PropPage1) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void PropPage1::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(PropPage1) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(PropPage1, CDialog) //{{AFX_MSG_MAP(PropPage1) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // PropPage1 message handlers void PropPage1::OnOK() { // TODO: Add extra validation here } void PropPage1::OnCancel() { // TODO: Add extra cleanup here } BOOL PropPage1::OnInitDialog() { CDialog::OnInitDialog(); // TODO: Add extra initialization here return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }