BaseProDlg.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #if !defined(AFX_BASEPRODLG_H__46012FB6_585A_4F45_8B77_65969618AFBE__INCLUDED_)
  2. #define AFX_BASEPRODLG_H__46012FB6_585A_4F45_8B77_65969618AFBE__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // BaseProDlg.h : header file
  7. //
  8. #include <vector>
  9. using namespace std;
  10. #include "BitmapPickerCombo.h"
  11. #include "resource.h"
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CBaseProDlg dialog
  14. class CBaseProDlg : public CPropertyPage
  15. {
  16. DECLARE_DYNCREATE(CBaseProDlg)
  17. // Construction
  18. public:
  19. CBaseProDlg(CWnd* pParent = NULL);
  20. virtual ~CBaseProDlg();
  21. // Dialog Data
  22. //{{AFX_DATA(CBaseProDlg)
  23. enum { IDD = IDD_BASEPRODLG };
  24. CString m_strCaption;
  25. CString m_strLineType;
  26. CString m_strLineWidth;
  27. CString m_strShowCondition;
  28. BOOL m_bDynShow;
  29. BOOL m_bVariant;
  30. CBitmapPickerCombo m_BitmapCombo;
  31. int m_nFillMode;
  32. //}}AFX_DATA
  33. public:
  34. COLORREF m_clrFore;
  35. COLORREF m_clrBack;
  36. COLORREF m_clrLine;
  37. COLORREF m_clrFill;
  38. LOGFONT m_logfont;
  39. vector<const CBitmap *> m_vtbitmapList;
  40. bool m_bMoreEdit;
  41. // Overrides
  42. // ClassWizard generate virtual function overrides
  43. //{{AFX_VIRTUAL(CBaseProDlg)
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. // Generated message map functions
  50. //{{AFX_MSG(CBaseProDlg)
  51. afx_msg void OnLinecolor();
  52. afx_msg void OnBackcolor();
  53. afx_msg void OnForecolor();
  54. afx_msg void OnFont();
  55. afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
  56. afx_msg void OnFillcolor();
  57. virtual BOOL OnInitDialog();
  58. afx_msg void OnSelvar();
  59. afx_msg void OnShowedit();
  60. //}}AFX_MSG
  61. DECLARE_MESSAGE_MAP()
  62. };
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_BASEPRODLG_H__46012FB6_585A_4F45_8B77_65969618AFBE__INCLUDED_)