Card2RegBlue.h 2.0 KB

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