NewEdit.h
资源名称:CAD2006.rar [点击查看]
上传用户:ckg1000
上传日期:2013-01-26
资源大小:630k
文件大小:2k
源码类别:
CAD
开发平台:
Visual C++
- #if !defined(AFX_NEWEDIT_H__D5EB0312_46EC_4013_B269_FB06098962D6__INCLUDED_)
- #define AFX_NEWEDIT_H__D5EB0312_46EC_4013_B269_FB06098962D6__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // NewEdit.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // NewEdit window
- //CArray <CRect,CRect>;
- class NewEdit : public CEdit
- {
- // Construction
- public:
- NewEdit();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(NewEdit)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- CRect GetFouceTextRect();
- void SetFouceTextRect(CRect rect);
- void TextMove(CDC *pDC,CPoint pt,int index,CRect rectrect);
- CRect GetFouceText();
- void SetFouceRect(CRect rect);
- void LostTextFouce(CDC *pDC,CRect rect);
- void SetTextFouce(CDC *pDC,CRect rect);
- void DeleteText( CDC * pDC, int index, CRect rect );
- void SaveText(CEdit *m_text);
- void draw(CRect rect);
- virtual ~NewEdit();
- // Generated message map functions
- protected:
- CRect m_textrect; //选中的框架
- CPtrArray m_ptarray;
- CString m_temp;
- CRect m_rect;
- CEdit *m_text;
- //{{AFX_MSG(NewEdit)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_NEWEDIT_H__D5EB0312_46EC_4013_B269_FB06098962D6__INCLUDED_)