CalDlg.h
上传用户:kelijie
上传日期:2007-01-01
资源大小:123k
文件大小:1k
源码类别:

图形图象

开发平台:

Visual C++

  1. #if !defined(AFX_CALDLG_H__FD5615C1_F1CE_11D2_955D_8422F5C00000__INCLUDED_)
  2. #define AFX_CALDLG_H__FD5615C1_F1CE_11D2_955D_8422F5C00000__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // CalDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CCalDlg dialog
  10. class _declspec(dllexport) CCalDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CCalDlg(CWnd* pParent = NULL);   // standard constructor
  15. int  m_iOperand;
  16. void SetOperand(int iOperand)
  17. {
  18.        m_iOperand = iOperand;
  19. };
  20. void GetOperand(int* iOperand)
  21. {
  22.        *iOperand = m_iOperand;
  23. };
  24. void SetCheckBox(void);
  25. // Dialog Data
  26. //{{AFX_DATA(CCalDlg)
  27. enum { IDD = IDD_CALCULATORSETTING };
  28. // NOTE: the ClassWizard will add data members here
  29. //}}AFX_DATA
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CCalDlg)
  33. public:
  34. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. public:
  38. // Generated message map functions
  39. //{{AFX_MSG(CCalDlg)
  40. afx_msg void OnAdd();
  41. afx_msg void OnDvd();
  42. afx_msg void OnMul();
  43. afx_msg void OnSub();
  44. virtual BOOL OnInitDialog();
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. };
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_CALDLG_H__FD5615C1_F1CE_11D2_955D_8422F5C00000__INCLUDED_)