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

界面编程

开发平台:

Visual C++

  1. // ChildView.h : interface of the CChildView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_CHILDVIEW_H__33CAE65F_75FA_4040_ADF4_513C2DF610BC__INCLUDED_)
  5. #define AFX_CHILDVIEW_H__33CAE65F_75FA_4040_ADF4_513C2DF610BC__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CChildView window
  11. class CChildView 
  12. : public CExtNCSB < CExtWS < CExtAFV < CFormView > > >
  13. {
  14. // Construction
  15. public:
  16. CChildView();
  17. DECLARE_DYNCREATE( CChildView );
  18. // Attributes
  19. public:
  20. // Operations
  21. protected:
  22. LOGFONT m_lf;
  23. bool m_bInitializingControls:1;
  24. void _ConrolsData_2_UiSettings();
  25. void _UpdateHotBar( bool bForceEmptyIconCache );
  26. public:
  27. //{{AFX_DATA(CChildView)
  28. enum { IDD = IDD_CHILD_FORM };
  29. CExtLabel m_wndLabelFontWidth;
  30. CExtLabel m_wndLabelFontHeight;
  31. CExtLabel m_wndLabelFontFaceName;
  32. CExtGroupBox m_wndBoxFont;
  33. CExtGroupBox m_wndBoxBrightness;
  34. CExtSliderWnd m_wndSliderHTBB;
  35. CExtEdit m_EditFontWidth;
  36. CExtEdit m_EditFontHeight;
  37. CExtComboBox m_ComboFontFaceName;
  38. CExtCheckBox m_BtnFontUnderline;
  39. CExtCheckBox m_BtnFontStrikeout;
  40. CExtCheckBox m_BtnFontItalic;
  41. CExtCheckBox m_BtnFontBold;
  42. //}}AFX_DATA
  43. // Overrides
  44. // ClassWizard generated virtual function overrides
  45. //{{AFX_VIRTUAL(CChildView)
  46. public:
  47. virtual void OnInitialUpdate();
  48. protected:
  49. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  50. //}}AFX_VIRTUAL
  51. // Implementation
  52. public:
  53. virtual ~CChildView();
  54. // Generated message map functions
  55. protected:
  56. //{{AFX_MSG(CChildView)
  57. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  58. afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  59. afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection);
  60. afx_msg void OnSysColorChange();
  61. afx_msg void OnCheckFontBold();
  62. afx_msg void OnCheckFontItalic();
  63. afx_msg void OnCheckFontUnderline();
  64. afx_msg void OnCheckFontStrikeout();
  65. afx_msg void OnChangeEditFontWidth();
  66. afx_msg void OnChangeEditFontHeight();
  67. afx_msg void OnSelchangeComboFontFaceName();
  68. afx_msg void OnSize(UINT nType, int cx, int cy);
  69. //}}AFX_MSG
  70. afx_msg LRESULT OnDisplayChange( WPARAM wParam, LPARAM lParam );
  71. DECLARE_MESSAGE_MAP()
  72. };
  73. /////////////////////////////////////////////////////////////////////////////
  74. //{{AFX_INSERT_LOCATION}}
  75. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  76. #endif // !defined(AFX_CHILDVIEW_H__33CAE65F_75FA_4040_ADF4_513C2DF610BC__INCLUDED_)