ScrView.h
资源名称:(vc).rar [点击查看]
上传用户:wpp2016
上传日期:2010-02-01
资源大小:1250k
文件大小:2k
源码类别:
Telnet服务器
开发平台:
Visual C++
- #if !defined(AFX_SCRVIEW_H__ED569140_F2CC_11D3_8A76_00E04CDD95C8__INCLUDED_)
- #define AFX_SCRVIEW_H__ED569140_F2CC_11D3_8A76_00E04CDD95C8__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ScrView.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CScrView view
- #include "anywheredoc.h"
- class CScrView : public CScrollView
- {
- protected:
- CScrView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CScrView)
- // Attributes
- public:
- CAnywhereDoc* GetDocument()
- {
- ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CAnywhereDoc)));
- return (CAnywhereDoc*) m_pDocument;
- }
- // Operations
- public:
- void message(CString filename);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CScrView)
- protected:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual void OnInitialUpdate(); // first time after construct
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CScrView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- //{{AFX_MSG(CScrView)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SCRVIEW_H__ED569140_F2CC_11D3_8A76_00E04CDD95C8__INCLUDED_)