PropPage1.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // PropPage1.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "ylgl.h"
  5. #include "PropPage1.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // PropPage1 dialog
  13. PropPage1::PropPage1(CWnd* pParent /*=NULL*/)
  14. : CDialog(PropPage1::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(PropPage1)
  17. // NOTE: the ClassWizard will add member initialization here
  18. //}}AFX_DATA_INIT
  19. }
  20. void PropPage1::DoDataExchange(CDataExchange* pDX)
  21. {
  22. CDialog::DoDataExchange(pDX);
  23. //{{AFX_DATA_MAP(PropPage1)
  24. // NOTE: the ClassWizard will add DDX and DDV calls here
  25. //}}AFX_DATA_MAP
  26. }
  27. BEGIN_MESSAGE_MAP(PropPage1, CDialog)
  28. //{{AFX_MSG_MAP(PropPage1)
  29. //}}AFX_MSG_MAP
  30. END_MESSAGE_MAP()
  31. /////////////////////////////////////////////////////////////////////////////
  32. // PropPage1 message handlers
  33. void PropPage1::OnOK()
  34. {
  35. // TODO: Add extra validation here
  36. }
  37. void PropPage1::OnCancel()
  38. {
  39. // TODO: Add extra cleanup here
  40. }
  41. BOOL PropPage1::OnInitDialog()
  42. {
  43. CDialog::OnInitDialog();
  44. // TODO: Add extra initialization here
  45. return TRUE; // return TRUE unless you set the focus to a control
  46. // EXCEPTION: OCX Property Pages should return FALSE
  47. }