home *** CD-ROM | disk | FTP | other *** search
- // dbmodvw.h : interface of the CDbmodelView class
- //
- /////////////////////////////////////////////////////////////////////////////
- class CIDO;
-
- class CDbmodelView : public CView
- {
- protected: // create from serialization only
- CDbmodelView();
- DECLARE_DYNCREATE(CDbmodelView)
-
- // Attributes
- public:
- CDbmodelDoc* GetDocument();
-
- CIDO * m_pIDO;
- // Operations
- public:
-
- // Implementation
- public:
- virtual ~CDbmodelView();
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDbmodelView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnEditAdd1c1();
- afx_msg void OnEditAdde1();
- afx_msg void OnEditAdde2();
- afx_msg void OnEditAddr1();
- afx_msg void OnEditAddr2();
- afx_msg void OnFilePrint();
- afx_msg void OnFileOpen();
- afx_msg void OnFileSave();
- //}}AFX_MSG
- afx_msg LRESULT OnEntityAdded(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnRelationAddRequest(WPARAM wParam, LPARAM lParam);
- afx_msg LRESULT OnClickEntity(WPARAM wParam, LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in dbmodvw.cpp
- inline CDbmodelDoc* CDbmodelView::GetDocument()
- { return (CDbmodelDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-