// CScrView.h : interface of the CScrView class // ///////////////////////////////////////////////////////////////////////////// //{{AFX_INCLUDES() #include "leadrasterview.h" //}}AFX_INCLUDES #if !defined(AFX_CSCRVIEW_H__349D9332_7934_11D5_860A_00104BDB8FF9__INCLUDED_) #define AFX_CSCRVIEW_H__349D9332_7934_11D5_860A_00104BDB8FF9__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 class CScrView : public CFormView { protected: // create from serialization only CScrView(); DECLARE_DYNCREATE(CScrView) public: //{{AFX_DATA(CScrView) enum { IDD = IDD_SCRDEMO_FORM }; CLEADRasterView m_LEADRasterView1; //}}AFX_DATA // Attributes public: CScrDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CScrView) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void OnInitialUpdate(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: virtual ~CScrView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CScrView) afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg LRESULT OnDoRealize(WPARAM wParam, LPARAM lParam); afx_msg void OnFileSave(); afx_msg void OnFileSaveAs(); afx_msg void OnKeyPressLeadrasterview1(short KeyAscii); afx_msg void OnClose(); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in CScrView.cpp inline CScrDoc* CScrView::GetDocument() { return (CScrDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CSCRVIEW_H__349D9332_7934_11D5_860A_00104BDB8FF9__INCLUDED_)