#pragma once #include class CDetailView : public CView { protected: DECLARE_DYNCREATE(CDetailView) // 重写 public: CDetailView(); virtual ~CDetailView(); public: virtual void OnDraw(CDC* pDC); // 重写以绘制该视图 #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // 生成的消息映射函数 protected: DECLARE_MESSAGE_MAP() public: // afx_msg void OnPaint(); };