MyFormView.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #if !defined(AFX_MYFORMVIEW_H__01579EB0_11BB_445B_8DE0_AFEDDF44091A__INCLUDED_)
  2. #define AFX_MYFORMVIEW_H__01579EB0_11BB_445B_8DE0_AFEDDF44091A__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // MyFormView.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // MyFormView form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #ifdef NEW_SKIN
  14. class MyFormView : public CFormView
  15. {
  16. protected:
  17. MyFormView(); // protected constructor used by dynamic creation
  18. DECLARE_DYNCREATE(MyFormView)
  19. // Form Data
  20. public:
  21. int m_id;
  22. MyFormView(UINT id);
  23. //{{AFX_DATA(MyFormView)
  24. // NOTE: the ClassWizard will add data members here
  25. //}}AFX_DATA
  26. // Attributes
  27. public:
  28. // Operations
  29. public:
  30. void SetDlgItemText(int id, CString str);
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(MyFormView)
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. protected:
  39. virtual ~MyFormView();
  40. #ifdef _DEBUG
  41. virtual void AssertValid() const;
  42. virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44. // Generated message map functions
  45. //{{AFX_MSG(MyFormView)
  46. // NOTE - the ClassWizard will add and remove member functions here.
  47. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  48. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. #endif
  53. /////////////////////////////////////////////////////////////////////////////
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_MYFORMVIEW_H__01579EB0_11BB_445B_8DE0_AFEDDF44091A__INCLUDED_)