Card2Reg.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #if !defined(AFX_Card2Reg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_Card2Reg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Card2Reg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // Card2Reg form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. class Card2Reg : public MyFormView
  14. {
  15. CString m_no;
  16. BOOL m_bInit;
  17. CArray<CStringArray, CStringArray>m_List1array;
  18. protected:
  19. Card2Reg(); // protected constructor used by dynamic creation
  20. DECLARE_DYNCREATE(Card2Reg)
  21. // Form Data
  22. public:
  23. //{{AFX_DATA(Card2Reg)
  24. enum { IDD = IDD_DLGCard2Reg };
  25. CSpinButtonCtrl m_spinday;
  26. CSpinButtonCtrl m_spinmonth;
  27. CSpinButtonCtrl m_spinyear;
  28. CSortListCtrl3 m_List1;
  29. CStatic m_static1;
  30. UINT m_year;
  31. UINT m_month;
  32. UINT m_day;
  33. CString m_filter;
  34. //}}AFX_DATA
  35. // Attributes
  36. public:
  37. // Operations
  38. public:
  39. void InputOK();
  40. void KindChange();
  41. void DateChange();
  42. void FillGrid();
  43. // Overrides
  44. // ClassWizard generated virtual function overrides
  45. //{{AFX_VIRTUAL(Card2Reg)
  46. public:
  47. virtual void OnInitialUpdate();
  48. virtual BOOL PreTranslateMessage(MSG* pMsg);
  49. protected:
  50. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  51. //}}AFX_VIRTUAL
  52. // Implementation
  53. protected:
  54. virtual ~Card2Reg();
  55. #ifdef _DEBUG
  56. virtual void AssertValid() const;
  57. virtual void Dump(CDumpContext& dc) const;
  58. #endif
  59. // Generated message map functions
  60. //{{AFX_MSG(Card2Reg)
  61. afx_msg void OnBUTclose();
  62. afx_msg void OnChangeEDITyear();
  63. afx_msg void OnChangeEDITmonth();
  64. afx_msg void OnChangeEDITday();
  65. afx_msg void OnButton1();
  66. //}}AFX_MSG
  67. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  68. DECLARE_MESSAGE_MAP()
  69. };
  70. /////////////////////////////////////////////////////////////////////////////
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  73. #endif // !defined(AFX_Card2Reg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)