DLineDlg1.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. #if !defined(AFX_DLINEDLG1_H__00324F16_5568_4746_9EC1_47DDA898FC01__INCLUDED_)
  2. #define AFX_DLINEDLG1_H__00324F16_5568_4746_9EC1_47DDA898FC01__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DLineDlg1.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CDLineDlg1 dialog
  10. class CDLineDlg1 : public CPropertyPage
  11. {
  12. DECLARE_DYNCREATE(CDLineDlg1)
  13. // Construction
  14. public:
  15. void OnChangeBrushStyle(BOOL isHatched);
  16. void OnChangePenStyle();
  17. CDLineDlg1();
  18. ~CDLineDlg1();
  19. CBrush brush;
  20. int m_BKMode;
  21. // Dialog Data
  22. //{{AFX_DATA(CDLineDlg1)
  23. enum { IDD = IDD_PROPPAGE_DLine1 };
  24. CComboBox m_Combo_BackgroundMode;
  25. CButton m_radio_bs_Hollow;
  26. CButton m_radio_ps_Solid;
  27. CButton m_radio_vertical;
  28. CButton m_radio_horizontal;
  29. CButton m_radio_fdiagonal;
  30. CButton m_radio_diagcross;
  31. CButton m_radio_bdiagonal;
  32. CButton m_radio_corss;
  33. CStatic m_Static_ShowBrushResult;
  34. CStatic m_Static_ShowPenStyle;
  35. CSpinButtonCtrl m_Spin_DLine_Width;
  36. UINT m_Edit_LineWidth;
  37. int m_radio_BrushHatch;
  38. int m_radio_BrushStyle;
  39. //}}AFX_DATA
  40. int m_PenStyle;
  41. UINT m_BrushStyle;
  42. LONG m_BrushHatch;
  43. COLORREF m_BrushColor;
  44. COLORREF m_PenColor;
  45. // Overrides
  46. // ClassWizard generate virtual function overrides
  47. //{{AFX_VIRTUAL(CDLineDlg1)
  48. protected:
  49. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  50. //}}AFX_VIRTUAL
  51. // Implementation
  52. protected:
  53. // Generated message map functions
  54. //{{AFX_MSG(CDLineDlg1)
  55. virtual BOOL OnInitDialog();
  56. afx_msg void OnRADIOPsSolid();
  57. afx_msg void OnRadio2();
  58. afx_msg void OnRadio3();
  59. afx_msg void OnRadio4();
  60. afx_msg void OnRadio5();
  61. afx_msg void OnRadio15();
  62. afx_msg void OnRadio16();
  63. afx_msg void OnPaint();
  64. afx_msg void OnRADIO6bshollow();
  65. afx_msg void OnRADIO7bssolid();
  66. afx_msg void OnRADIO8hatched();
  67. afx_msg void OnDeltaposSPINDDLineWidth(NMHDR* pNMHDR, LRESULT* pResult);
  68. afx_msg void OnChangeEDITLineWidth();
  69. afx_msg void OnRadioHs();
  70. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  71. afx_msg void OnSelchangeCOMBOBackgroundMode();
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. };
  75. //{{AFX_INSERT_LOCATION}}
  76. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  77. #endif // !defined(AFX_DLINEDLG1_H__00324F16_5568_4746_9EC1_47DDA898FC01__INCLUDED_)