home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / mdibind / mdidoc.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  2KB  |  57 lines

  1. // MDIDoc.h : interface of the CMDIBindDoc class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #include "rdc.h"
  14.  
  15. class CMDIBindDoc : public CDocument
  16. {
  17. protected: // create from serialization only
  18.     CMDIBindDoc();
  19.     DECLARE_DYNCREATE(CMDIBindDoc)
  20.  
  21. // Attributes
  22. public:
  23.     CRdc* m_pRDC;   // the RDC the control is bound to
  24.     CString m_boundCol; // the column the control is bound to (MsMask only)
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CMDIBindDoc)
  32.     public:
  33.     virtual BOOL OnNewDocument();
  34.     virtual void Serialize(CArchive& ar);
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. public:
  39.     virtual ~CMDIBindDoc();
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. protected:
  46.  
  47. // Generated message map functions
  48. protected:
  49.     //{{AFX_MSG(CMDIBindDoc)
  50.         // NOTE - the ClassWizard will add and remove member functions here.
  51.         //    DO NOT EDIT what you see in these blocks of generated code !
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57.