ex101View.h
资源名称:VC6.0.rar [点击查看]
上传用户:qdhmjx
上传日期:2022-07-11
资源大小:2226k
文件大小:2k
源码类别:
书籍源码
开发平台:
Visual C++
- // ex101View.h : interface of the CEx101View class
- //
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INCLUDES()
- #include "labelcontrol.h"
- //}}AFX_INCLUDES
- #if !defined(AFX_EX101VIEW_H__9BBBABAC_6D67_4137_A612_26DB879AB0BE__INCLUDED_)
- #define AFX_EX101VIEW_H__9BBBABAC_6D67_4137_A612_26DB879AB0BE__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CEx101View : public CFormView
- {
- protected: // create from serialization only
- CEx101View();
- DECLARE_DYNCREATE(CEx101View)
- public:
- //{{AFX_DATA(CEx101View)
- enum { IDD = IDD_EX101_FORM };
- CComboBox m_ctrlMonthList;
- int m_nYear;
- int m_nMonPro;
- CString m_strMonMem;
- CString m_strRiseRate;
- CLabelControl m_YearPro;
- //}}AFX_DATA
- // Attributes
- public:
- CEx101Doc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEx101View)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void OnInitialUpdate(); // called first time after construct
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CEx101View();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CEx101View)
- afx_msg void OnChangeMonMem();
- afx_msg void OnChangeMonPro();
- afx_msg void OnChangeYear();
- afx_msg void OnDeltaposSpinYear(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnSelchangeMonth();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- int m_nCurrentMonth;
- };
- #ifndef _DEBUG // debug version in ex101View.cpp
- inline CEx101Doc* CEx101View::GetDocument()
- { return (CEx101Doc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_EX101VIEW_H__9BBBABAC_6D67_4137_A612_26DB879AB0BE__INCLUDED_)