ReportBoxProperties.h
Upload User: kairuinn
Upload Date: 2009-02-07
Package Size: 2922k
Code Size: 2k
Category:

Graph program

Development Platform:

Visual C++

  1. #if !defined(AFX_REPORTBOXPROPERTIES_H__41B4B91F_86F8_4392_BAC9_29169E84A68A__INCLUDED_)
  2. #define AFX_REPORTBOXPROPERTIES_H__41B4B91F_86F8_4392_BAC9_29169E84A68A__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ReportBoxProperties.h : header file
  7. //
  8. #include "DiagramEditor/DiagramPropertyDlg.h"
  9. #include "../resource.h"
  10. #include "..//Controls//ColorPickerCB.h"
  11. #include "..//Controls//LineThiknessCombo.h"
  12. #include "..//Controls//OptionTree//OptionTree.h"
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CReportBoxProperties dialog
  15. class CReportBoxProperties : public CDiagramPropertyDlg
  16. {
  17. // Construction
  18. public:
  19. CReportBoxProperties(IThumbnailerStorage* pParent = NULL);   // standard constructor
  20. // Dialog Data
  21. //{{AFX_DATA(CReportBoxProperties)
  22. enum { IDD = IDD_REPORT_DIALOG_BOX_PROPERTIES };
  23. //}}AFX_DATA
  24. virtual void SetValues();
  25. BOOL m_fill;
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CReportBoxProperties)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. // Generated message map functions
  35. //{{AFX_MSG(CReportBoxProperties)
  36. virtual void OnOK();
  37. virtual void OnCancel();
  38. virtual BOOL OnInitDialog();
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. private:
  42. unsigned int m_borderColor;
  43. unsigned int m_borderThickness;
  44. unsigned int m_borderStyle;
  45. unsigned int m_fillColor;
  46. COptionTree m_otTree;
  47. COptionTreeItemCheckBox         *m_otiExistFill;
  48. COptionTreeItemColorComboBox    *m_otiFillColorCombo;
  49. COptionTreeItemCheckBox         *m_otiExistLeft;
  50. COptionTreeItemCheckBox         *m_otiExistRight;
  51. COptionTreeItemCheckBox         *m_otiExistTop;
  52. COptionTreeItemCheckBox         *m_otiExistBottom;
  53. COptionTreeItemColorComboBox    *m_otiFrameColorCombo;
  54. COptionTreeItemLineThikComboBox *m_otiFrameThicknessCombo;
  55. //COptionTreeItemCheckBox         *m_otiGabVis_check;
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_REPORTBOXPROPERTIES_H__41B4B91F_86F8_4392_BAC9_29169E84A68A__INCLUDED_)