Mode.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #if !defined(AFX_MODE_H__B7279911_A903_4090_B8EC_3918CB6F8511__INCLUDED_)
  2. #define AFX_MODE_H__B7279911_A903_4090_B8EC_3918CB6F8511__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Mode.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CMode dialog
  10. #include <afxtempl.h>
  11. #include <afxcoll.h>
  12. class CMode : public CPropertyPage
  13. {
  14. DECLARE_DYNCREATE(CMode)
  15. // Construction
  16. public:
  17. CMode();
  18. ~CMode();
  19. // Dialog Data
  20. //{{AFX_DATA(CMode)
  21. enum { IDD = IDD_PROPPAGE_Mode };
  22. CButton m_Check_mode;
  23. CComboBox m_Combo_BackgroundMode;
  24. CTreeCtrl m_Tree_DrawingMode;
  25. CString m_Edit_Detail;
  26. BOOL m_bMode;
  27. //}}AFX_DATA
  28. int m_DrawingMode;
  29. int m_BKMode;
  30. CBrush brush;
  31. //CMap<CString,CString&,int,int&>*m_StringtoIntmap;
  32. CMapStringToString *m_StringtoString;
  33. // Overrides
  34. // ClassWizard generate virtual function overrides
  35. //{{AFX_VIRTUAL(CMode)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CMode)
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnSelchangedTREEDrawingMode(NMHDR* pNMHDR, LRESULT* pResult);
  45. afx_msg void OnSelchangeCOMBOBackgroundMode();
  46. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  47. afx_msg void OnCHECKModeCheck();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_MODE_H__B7279911_A903_4090_B8EC_3918CB6F8511__INCLUDED_)