BookAdminView.h
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:2k
源码类别:

ActiveX/DCOM/ATL

开发平台:

Visual C++

  1. // BookAdminView.h : interface of the CBookAdminView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_BOOKADMINVIEW_H__C7EC8826_1C18_470B_8A31_69A60D1B8A81__INCLUDED_)
  5. #define AFX_BOOKADMINVIEW_H__C7EC8826_1C18_470B_8A31_69A60D1B8A81__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CBookAdminView : public CListView
  10. {
  11. protected: // create from serialization only
  12. CBookAdminView();
  13. DECLARE_DYNCREATE(CBookAdminView)
  14. // Attributes
  15. public:
  16. CBookAdminDoc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CBookAdminView)
  22. public:
  23. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. virtual void OnInitialUpdate(); // called first time after construct
  27. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  28. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  29. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. public:
  33. virtual ~CBookAdminView();
  34. #ifdef _DEBUG
  35. virtual void AssertValid() const;
  36. virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38. protected:
  39. // Generated message map functions
  40. protected:
  41. //{{AFX_MSG(CBookAdminView)
  42. afx_msg void OnButton32772();
  43. //}}AFX_MSG
  44. afx_msg void OnStyleChanged(int nStyleType, LPSTYLESTRUCT lpStyleStruct);
  45. DECLARE_MESSAGE_MAP()
  46. };
  47. #ifndef _DEBUG  // debug version in BookAdminView.cpp
  48. inline CBookAdminDoc* CBookAdminView::GetDocument()
  49.    { return (CBookAdminDoc*)m_pDocument; }
  50. #endif
  51. /////////////////////////////////////////////////////////////////////////////
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_BOOKADMINVIEW_H__C7EC8826_1C18_470B_8A31_69A60D1B8A81__INCLUDED_)