BarDlg.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #if !defined(AFX_BARDLG_H__16A65887_2ABA_4CBE_9BAA_40496DEF1FA6__INCLUDED_)
  2. #define AFX_BARDLG_H__16A65887_2ABA_4CBE_9BAA_40496DEF1FA6__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // CBarPage.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CBarPage
  10. class CBarPage : public CPropertyPage
  11. {
  12. DECLARE_DYNCREATE(CBarPage)
  13. // Construction
  14. public:
  15. CBarPage(); // standard constructor
  16. ~CBarPage();
  17. // Dialog Data
  18. //{{AFX_DATA(CBarPage)
  19. enum { IDD = IDD_BAR_PROPERTY };
  20. int m_nLowwer;
  21. int m_nUpper;
  22. CString m_strVar1;
  23. CString m_strVar2;
  24. CString m_strVar3;
  25. //}}AFX_DATA
  26. COLORREF m_clrBar1;
  27. COLORREF m_clrBar2;
  28. COLORREF m_clrBar3;
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CBarPage)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CBarPage)
  39. afx_msg void OnBar1color();
  40. afx_msg void OnBar3color();
  41. afx_msg void OnBar2color();
  42. afx_msg void OnVar1();
  43. afx_msg void OnVar2();
  44. afx_msg void OnVar3();
  45. afx_msg void OnBargridcolor();
  46. afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_BARDLG_H__16A65887_2ABA_4CBE_9BAA_40496DEF1FA6__INCLUDED_)