ExcelTabProperties.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:2k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. #if !defined(AFX_EXCELTABPROPERTIES_H__F85EB7E8_88A6_4854_86CE_8F6AAF84DD4B__INCLUDED_)
  2. #define AFX_EXCELTABPROPERTIES_H__F85EB7E8_88A6_4854_86CE_8F6AAF84DD4B__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ExcelTabProperties.h : header file
  7. //
  8. class CExcelTabDlg;
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CExcelTabProperties dialog
  11. class CExcelTabProperties : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CExcelTabProperties(BOOL& bBottom, BOOL& bHasArrows, BOOL& bHasHomeEnd, BOOL& bHScroll, CExcelTabDlg* pParent = NULL);   // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CExcelTabProperties)
  18. enum { IDD = IDD_EXCELTAB_PROPERTIES };
  19. CXTColorPicker m_cpSelText;
  20. CXTColorPicker m_cpText;
  21. CXTColorPicker m_cpSelBack;
  22. CXTColorPicker m_cpBack;
  23. CButton m_btnModifyTab;
  24. CButton m_btnDeleteTab;
  25. CButton m_btnDeleteAll;
  26. CButton m_btnAddTab;
  27. int m_iTabNum;
  28. CString m_csText;
  29. //}}AFX_DATA
  30. COLORREF m_crText;
  31. COLORREF m_crBack;
  32. COLORREF m_crSelText;
  33. COLORREF m_crSelBack;
  34. BOOL& m_bBottom;
  35. BOOL& m_bHasArrows;
  36. BOOL& m_bHasHomeEnd;
  37. BOOL& m_bHScroll;
  38. CExcelTabDlg* m_pParentWnd;
  39. CXTExcelTabCtrl* m_pExcelTabCtrl;
  40. // Overrides
  41. // ClassWizard generated virtual function overrides
  42. //{{AFX_VIRTUAL(CExcelTabProperties)
  43. protected:
  44. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45. //}}AFX_VIRTUAL
  46. // Implementation
  47. protected:
  48. void UpdateDlgStatus();
  49. void UpdateTabColors();
  50. // Generated message map functions
  51. //{{AFX_MSG(CExcelTabProperties)
  52. afx_msg void OnFtsXtBottom();
  53. afx_msg void OnFtsXtHasarrows();
  54. afx_msg void OnFtsXtHashomeend();
  55. afx_msg void OnFtsXtHscroll();
  56. afx_msg void OnAddTab();
  57. afx_msg void OnDeleteAll();
  58. afx_msg void OnDeleteTab();
  59. afx_msg void OnModifyTab();
  60. afx_msg void OnChangeText();
  61. afx_msg void OnChangeTabNum();
  62. virtual BOOL OnInitDialog();
  63. //}}AFX_MSG
  64. afx_msg void OnSelEndOkTextClr();
  65. afx_msg void OnSelEndOkBackClr();
  66. afx_msg void OnSelEndOkSelTextClr();
  67. afx_msg void OnSelEndOkSelBackClr();
  68. DECLARE_MESSAGE_MAP()
  69. };
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_EXCELTABPROPERTIES_H__F85EB7E8_88A6_4854_86CE_8F6AAF84DD4B__INCLUDED_)