RTScrollEdit.cpp
上传用户:qhonly
上传日期:2013-06-10
资源大小:487k
文件大小:1k
- // RTScrollEdit.cpp : 实现文件
- //
- #include "stdafx.h"
- #include "RTScrollEdit.h"
- // CRTScrollEdit
- IMPLEMENT_DYNAMIC(CRTScrollEdit, CRTEdit)
- CRTScrollEdit::CRTScrollEdit()
- {
- }
- CRTScrollEdit::~CRTScrollEdit()
- {
- }
- BEGIN_MESSAGE_MAP(CRTScrollEdit, CRTEdit)
- ON_WM_PAINT()
- ON_WM_ERASEBKGND()
- ON_WM_CREATE()
- END_MESSAGE_MAP()
- // CRTScrollEdit 消息处理程序
- void CRTScrollEdit::OnPaint()
- {
-
- CRTEdit::OnPaint();
- }
- BOOL CRTScrollEdit::OnEraseBkgnd(CDC* pDC)
- {
- return CRTEdit::OnEraseBkgnd(pDC);
- }
- void CRTScrollEdit::PreSubclassWindow()
- {
- m_Container.Create(this);
- CRTEdit::PreSubclassWindow();
- }
- int CRTScrollEdit::OnCreate(LPCREATESTRUCT lpCreateStruct)
- {
- if (CRTEdit::OnCreate(lpCreateStruct) == -1)
- return -1;
- m_Container.Create(this);
- return 0;
- }
- void CRTScrollEdit::SetScroll(void)
- {
- }