BurnCD.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. class BurnCD : public CFormView
  14. {
  15. CArray<CStringArray, CStringArray>m_List1array;
  16. protected:
  17. BurnCD(); // protected constructor used by dynamic creation
  18. DECLARE_DYNCREATE(BurnCD)
  19. // Form Data
  20. public:
  21. //{{AFX_DATA(BurnCD)
  22. enum { IDD = IDD_DLGBurnCD };
  23. CComboBox m_combo1;
  24. CSortListCtrl2 m_List1;
  25. CStatic m_static1;
  26. CString m_filter;
  27. //}}AFX_DATA
  28. // Attributes
  29. public:
  30. // Operations
  31. public:
  32. CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  33. int FindArray(CStringArray *pArray, CString Str);
  34. void GetSavePath(CString &path);
  35. void GetNo(CString str, CStringArray &array);
  36. void FillGrid(BOOL bStatus=0);
  37. // Overrides
  38. // ClassWizard generated virtual function overrides
  39. //{{AFX_VIRTUAL(BurnCD)
  40. public:
  41. virtual void OnInitialUpdate();
  42. virtual BOOL PreTranslateMessage(MSG* pMsg);
  43. protected:
  44. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  45. //}}AFX_VIRTUAL
  46. // Implementation
  47. protected:
  48. virtual ~BurnCD();
  49. #ifdef _DEBUG
  50. virtual void AssertValid() const;
  51. virtual void Dump(CDumpContext& dc) const;
  52. #endif
  53. // Generated message map functions
  54. //{{AFX_MSG(BurnCD)
  55. afx_msg void OnBUTclose();
  56. afx_msg void OnButton1();
  57. afx_msg void OnSelchangeCombo1();
  58. afx_msg void OnTimer(UINT nIDEvent);
  59. afx_msg void OnBUTshowphoto();
  60. afx_msg void OnBUTexportphoto();
  61. afx_msg void OnBUTimportphoto();
  62. afx_msg void OnButton2();
  63. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  64. afx_msg void OnBUTburncd();
  65. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  66. //}}AFX_MSG
  67. DECLARE_MESSAGE_MAP()
  68. };
  69. /////////////////////////////////////////////////////////////////////////////
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_BurnCD_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)