BurnCD.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #if !defined(AFX_BurnCD_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_BurnCD_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // BurnCD.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // BurnCD form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "MyFormView.h"
  14. class BurnCD : public MyFormView
  15. {
  16. CArray<CStringArray, CStringArray>m_List1array;
  17. protected:
  18. BurnCD(); // protected constructor used by dynamic creation
  19. DECLARE_DYNCREATE(BurnCD)
  20. // Form Data
  21. public:
  22. //{{AFX_DATA(BurnCD)
  23. enum { IDD = IDD_DLGBurnCD };
  24. CComboBox m_combo1;
  25. CSortListCtrl2 m_List1;
  26. CStatic m_static1;
  27. CString m_filter;
  28. //}}AFX_DATA
  29. // Attributes
  30. public:
  31. // Operations
  32. public:
  33. void HidePrice();
  34. CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  35. int FindArray(CStringArray *pArray, CString Str);
  36. void GetSavePath(CString &path);
  37. void GetNo(CString str, CStringArray &array);
  38. void FillGrid(BOOL bStatus=0);
  39. // Overrides
  40. // ClassWizard generated virtual function overrides
  41. //{{AFX_VIRTUAL(BurnCD)
  42. public:
  43. virtual void OnInitialUpdate();
  44. virtual BOOL PreTranslateMessage(MSG* pMsg);
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. //}}AFX_VIRTUAL
  48. // Implementation
  49. protected:
  50. virtual ~BurnCD();
  51. #ifdef _DEBUG
  52. virtual void AssertValid() const;
  53. virtual void Dump(CDumpContext& dc) const;
  54. #endif
  55. // Generated message map functions
  56. //{{AFX_MSG(BurnCD)
  57. afx_msg void OnBUTclose();
  58. afx_msg void OnButton1();
  59. afx_msg void OnSelchangeCombo1();
  60. afx_msg void OnTimer(UINT nIDEvent);
  61. afx_msg void OnButton2();
  62. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  63. afx_msg void OnBUTburncd();
  64. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  65. afx_msg void OnBUTburnreg();
  66. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  67. //}}AFX_MSG
  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_BurnCD_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)