DynamicProPage.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #if !defined(AFX_DYNAMICPROPAGE_H__164AA6D0_7A4D_4316_8394_87E6A86218D7__INCLUDED_)
  2. #define AFX_DYNAMICPROPAGE_H__164AA6D0_7A4D_4316_8394_87E6A86218D7__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DynamicProPage.h : header file
  7. //
  8. //#include <afxtempl.h>
  9. #include "DrawObj.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CDynamicProPage dialog
  12. class CDynamicProPage : public CPropertyPage
  13. {
  14. DECLARE_DYNCREATE(CDynamicProPage)
  15. // Construction
  16. public:
  17. CDynamicProPage();
  18. ~CDynamicProPage();
  19. // Dialog Data
  20. //{{AFX_DATA(CDynamicProPage)
  21. enum { IDD = IDD_DYNAMICDLG };
  22. BOOL m_bVertiSize;
  23. BOOL m_bVertiPos;
  24. BOOL m_bOnMove;
  25. BOOL m_bLineColor;
  26. BOOL m_bHorizSize;
  27. BOOL m_bHorizPos;
  28. BOOL m_bForeColor;
  29. BOOL m_bOnButtonUp;
  30. BOOL m_bOnButtonDown;
  31. BOOL m_bBackColor;
  32. CString m_strHoriPos; // ˮƽλÖÃ;
  33. CString m_strHoriSize; // ˮƽ³ß´ç;
  34. CString m_strVertiPos; // ´¹Ö±Î»ÖÃ;
  35. CString m_strVertiSize; // ´¹Ö±³ß´ç;
  36. int m_nHorAlign;
  37. int m_nVerAlign;
  38. //}}AFX_DATA
  39. COLORREF m_clrForeColor;
  40. CString m_strForeColorCondition;
  41. COLORREF m_clrBackColor;
  42. CString m_strBackColorCondition;
  43. COLORREF m_clrLineColor;
  44. CString m_strFLineColorCondition;
  45. CAction m_downAction;
  46. CAction m_upAction;
  47. CAction m_moveAction;
  48. CString m_arrayActionType[16];
  49. // Overrides
  50. // ClassWizard generate virtual function overrides
  51. //{{AFX_VIRTUAL(CDynamicProPage)
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  54. //}}AFX_VIRTUAL
  55. // Implementation
  56. protected:
  57. // Generated message map functions
  58. //{{AFX_MSG(CDynamicProPage)
  59. afx_msg void OnSetforecolor();
  60. afx_msg void OnSetlinecolor();
  61. afx_msg void OnSetbackcolor();
  62. afx_msg void OnSetbuttondown();
  63. afx_msg void OnSetbuttonup();
  64. afx_msg void OnSetmousemove();
  65. afx_msg void OnHsizeconedit();
  66. afx_msg void OnVsizeconedit();
  67. afx_msg void OnHposconedit();
  68. afx_msg void OnVposconedit();
  69. //}}AFX_MSG
  70. DECLARE_MESSAGE_MAP()
  71. };
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  74. #endif // !defined(AFX_DYNAMICPROPAGE_H__164AA6D0_7A4D_4316_8394_87E6A86218D7__INCLUDED_)