ChildView.h
上传用户:sesekoo
上传日期:2020-07-18
资源大小:21543k
文件大小:2k
源码类别:

界面编程

开发平台:

Visual C++

  1. // ChildView.h : interface of the CChildView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_CHILDVIEW_H__7627BE0E_E398_44DE_B281_3696A9A0C8BA__INCLUDED_)
  5. #define AFX_CHILDVIEW_H__7627BE0E_E398_44DE_B281_3696A9A0C8BA__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CChildView window
  11. class CChildView : public CWnd
  12. {
  13. // Construction
  14. public:
  15. CChildView();
  16. // Attributes
  17. public:
  18. protected:
  19. CExtColorCtrl
  20. m_wndColorCtrlCubeRGB_R,
  21. m_wndColorCtrlCubeRGB_G,
  22. m_wndColorCtrlHSL_BH,
  23. m_wndColorCtrlHSL_Panel,
  24. m_wndColorCtrlCubeRGB_B;
  25. bool m_bSyncingValues;
  26. bool m_bColorControlsVisible;
  27. // Operations
  28. public:
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CChildView)
  32. protected:
  33. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. public:
  37. virtual ~CChildView();
  38. // Generated message map functions
  39. protected:
  40. //{{AFX_MSG(CChildView)
  41. afx_msg void OnPaint();
  42. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  43. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  44. afx_msg void OnViewColorControls();
  45. afx_msg void OnUpdateViewColorControls(CCmdUI* pCmdUI);
  46. //}}AFX_MSG
  47. LRESULT OnColorChanged(WPARAM wParam,LPARAM lParam);
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. /////////////////////////////////////////////////////////////////////////////
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_CHILDVIEW_H__7627BE0E_E398_44DE_B281_3696A9A0C8BA__INCLUDED_)