PhotoPrintFrom.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. #if !defined(AFX_PhotoPrintFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_PhotoPrintFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PhotoPrintFrom.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // PhotoPrintFrom form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. class PhotoPrintFrom : public MyFormView
  14. {
  15. int m_nAdd;
  16. CArray<CStringArray, CStringArray>m_List1array;
  17. protected:
  18. PhotoPrintFrom(); // protected constructor used by dynamic creation
  19. DECLARE_DYNCREATE(PhotoPrintFrom)
  20. // Form Data
  21. public:
  22. enum { IDD = IDD_DLGPhotoPrintFrom };
  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. void HidePrice();
  33. void GetData();
  34. void FillGrid();
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. public:
  38. virtual void OnInitialUpdate();
  39. virtual BOOL PreTranslateMessage(MSG* pMsg);
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. virtual ~PhotoPrintFrom();
  46. #ifdef _DEBUG
  47. virtual void AssertValid() const;
  48. virtual void Dump(CDumpContext& dc) const;
  49. #endif
  50. // Generated message map functions
  51. afx_msg void OnBUTclose();
  52. afx_msg void OnButton1();
  53. afx_msg void OnSelchangeCombo1();
  54. afx_msg void OnTimer(UINT nIDEvent);
  55. afx_msg void OnBUTmodify2();
  56. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  57. afx_msg void OnBUTmodify3();
  58. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. /////////////////////////////////////////////////////////////////////////////
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_PhotoPrintFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)