SymbolView.h
资源名称:winpe.zip [点击查看]
上传用户:ch83438830
上传日期:2007-01-01
资源大小:104k
文件大小:2k
源码类别:
文件操作
开发平台:
Visual C++
- // winpeView.h : interface of the CSymbolView class
- //
- /////////////////////////////////////////////////////////////////////////////
- class CSymbolView : public CScrollView
- {
- protected: // create from serialization only
- CSymbolView();
- DECLARE_DYNCREATE(CSymbolView)
- // Attributes
- public:
- CWinpeDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSymbolView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void OnInitialUpdate();
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CSymbolView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CSymbolView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CStringArray m_DisplayData;
- INT GetSymbols();
- CFont m_screenFont;
- CFont m_printerFont;
- UINT m_cyScreen;
- UINT m_cyPrinter;
- UINT m_cxOffset;
- UINT m_cxWidth;
- UINT m_nLinesTotal;
- UINT m_nLinesPerPage;
- //
- //
- //
- //
- };
- #ifndef _DEBUG // debug version in winpeView.cpp
- inline CWinpeDoc* CSymbolView::GetDocument()
- { return (CWinpeDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////