// dimView.h : interface of the CDimView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_DIMVIEW_H__7691B20E_15B5_11D3_8952_0060087BCBA0__INCLUDED_) #define AFX_DIMVIEW_H__7691B20E_15B5_11D3_8952_0060087BCBA0__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CDimView : public CView { protected: // create from serialization only CDimView(); DECLARE_DYNCREATE(CDimView) // Attributes public: CDim1Doc* GetDocument(); // Operations public: pDIMENSION pfileDim; L_INT iDimCount; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDimView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL afx_msg LRESULT OnHandlePalette(WPARAM wParam, LPARAM lParam); // Implementation public: LBitmapWindow m_LBitmapWnd; virtual ~CDimView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CDimView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnAllErrors(); afx_msg void OnUpdateAllErrors(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in dimView.cpp inline CDim1Doc* CDimView::GetDocument() { return (CDim1Doc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DIMVIEW_H__7691B20E_15B5_11D3_8952_0060087BCBA0__INCLUDED_)