不好意思,刚入门,什么意思??
class CSimpleView : public CView
{
protected: // create from serialization only
CSimpleView();
DECLARE_DYNCREATE(CSimpleView)
// Attributes
public:
CSimpleDoc* GetDocument();
// Operations
public:
int m_nCurrNam;
// Overrides
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CSimpleView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CSimpleView)
afx_msg void OnAppend();
afx_msg void OnDelete();
afx_msg void OnEdit();
afx_msg void OnNext();
afx_msg void OnPrev();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
这可以吗?