home *** CD-ROM | disk | FTP | other *** search
- // odbc2View.h : interface of the COdbc2View class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- #if !defined(AFX_ODBC2VIEW_H__73E4358B_654C_11D0_9F76_00AA00680BB3__INCLUDED_)
- #define AFX_ODBC2VIEW_H__73E4358B_654C_11D0_9F76_00AA00680BB3__INCLUDED_
-
- #include "MyRecordset.h" // Added by ClassView
- #include "MyRecordset2.h" // Added by ClassView
- #include "MyRecordset3.h" // Added by ClassView
- class COdbc2View : public CScrollView
- {
- protected: // create from serialization only
- COdbc2View();
- DECLARE_DYNCREATE(COdbc2View)
-
- // Attributes
- public:
- COdbc2Doc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(COdbc2View)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void OnInitialUpdate(); // called first time after construct
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- CDatabase m_db;
- CMyRecordset* m_pRecordset;
- CMyRecordset2* m_pRecordset2;
- CMyRecordset3* m_pRecordset3;
- virtual ~COdbc2View();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(COdbc2View)
- afx_msg void OnOdbcAdd();
- afx_msg void OnOdbcOpen();
- afx_msg void OnOdbcGeneric();
- afx_msg void OnOdbcRowset();
- afx_msg void OnOdbcQuery();
- afx_msg void OnOdbcInfo();
- afx_msg void OnOdbcCreate();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in odbc2View.cpp
- inline COdbc2Doc* COdbc2View::GetDocument()
- { return (COdbc2Doc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_ODBC2VIEW_H__73E4358B_654C_11D0_9F76_00AA00680BB3__INCLUDED_)
-