Визуальное программирование и MFC

       

SingleDoc.h


// singleDoc.h : interface of the CSingleDoc class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_SINGLEDOC_H__A720367A_E01B_11D1_9525_0080488929D2__INCLUDED_) #define AFX_SINGLEDOC_H__A720367A_E01B_11D1_9525_0080488929D2__INCLUDED_   #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000     class CSingleDoc : public CDocument { protected: // create from serialization only CSingleDoc(); DECLARE_DYNCREATE(CSingleDoc)   // Attributes public:   // Operations public:   // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSingleDoc) public: virtual BOOL OnNewDocument(); virtual void Serialize(CArchive& ar); //}}AFX_VIRTUAL   // Implementation public: virtual ~CSingleDoc(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif   protected:   // Generated message map functions protected: //{{AFX_MSG(CSingleDoc) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() };   /////////////////////////////////////////////////////////////////////////////   //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line.   #endif // !defined(AFX_SINGLEDOC_H__A720367A_E01B_11D1_9525_0080488929D2__INCLUDED_)



Содержание раздела