Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.7 KiB

  1. #if !defined(AFX_NCEDITVIEW_H__DCB4F926_F391_4DDC_B0F6_5ACED6173607__INCLUDED_)
  2. #define AFX_NCEDITVIEW_H__DCB4F926_F391_4DDC_B0F6_5ACED6173607__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // NCEditView.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CNCEditView view
  10. class CNcbrowseDoc;
  11. class CNCEditView : public CEditView
  12. {
  13. protected:
  14. CNCEditView(); // protected constructor used by dynamic creation
  15. DECLARE_DYNCREATE(CNCEditView)
  16. // Attributes
  17. public:
  18. CNcbrowseDoc* GetDocument();
  19. BOOL ScrollToLine(DWORD dwLineNum);
  20. // Operations
  21. public:
  22. // Overrides
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CNCEditView)
  25. public:
  26. virtual void OnInitialUpdate();
  27. protected:
  28. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. protected:
  32. virtual ~CNCEditView();
  33. #ifdef _DEBUG
  34. virtual void AssertValid() const;
  35. virtual void Dump(CDumpContext& dc) const;
  36. #endif
  37. // Generated message map functions
  38. protected:
  39. //{{AFX_MSG(CNCEditView)
  40. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. #ifndef _DEBUG // debug version in LeftView.cpp
  45. inline CNcbrowseDoc* CNCEditView::GetDocument()
  46. { return (CNcbrowseDoc*)m_pDocument; }
  47. #endif
  48. /////////////////////////////////////////////////////////////////////////////
  49. //{{AFX_INSERT_LOCATION}}
  50. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  51. #endif // !defined(AFX_NCEDITVIEW_H__DCB4F926_F391_4DDC_B0F6_5ACED6173607__INCLUDED_)