PppView.h
上传用户:kjzhanglin
上传日期:2021-07-11
资源大小:31k
文件大小:2k
- // PppView.h : interface of the CPppView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_PPPVIEW_H__8635E57E_3AFE_447A_8CCB_7B1B97A1BAC3__INCLUDED_)
- #define AFX_PPPVIEW_H__8635E57E_3AFE_447A_8CCB_7B1B97A1BAC3__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include"PppDoc.h"
- #include"ShengSet.h"
- class CPppView : public CFormView
- {
- protected: // create from serialization only
- CPppView();
- DECLARE_DYNCREATE(CPppView)
- public:
- //{{AFX_DATA(CPppView)
- enum { IDD = IDD_PPP_FORM };
- CTreeCtrl m_treectrl;
- //}}AFX_DATA
- // Attributes
- public:
- CPppDoc* GetDocument();
- public:
- CShengSet *m_ShengSet;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPppView)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void OnInitialUpdate(); // called first time after construct
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CPppView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CPppView)
- afx_msg void OnSelchangingTree1(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in PppView.cpp
- inline CPppDoc* CPppView::GetDocument()
- { return (CPppDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PPPVIEW_H__8635E57E_3AFE_447A_8CCB_7B1B97A1BAC3__INCLUDED_)