NEWEDIT.H
上传用户:sanlisteel
上传日期:2008-06-19
资源大小:98k
文件大小:1k
- #if !defined(AFX_NEWEDIT_H__9FBEDDBA_CD7E_4B99_8E05_D6E9820F7042__INCLUDED_)
- #define AFX_NEWEDIT_H__9FBEDDBA_CD7E_4B99_8E05_D6E9820F7042__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // NewEdit.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CNewEdit window
- class CNewEdit : public CEdit
- {
-
- // Construction
- public:
- CNewEdit();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CNewEdit)
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void SetReadOnlyState(BOOL isro);
- virtual ~CNewEdit();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CNewEdit)
- afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- BOOL isReadOnly;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_NEWEDIT_H__9FBEDDBA_CD7E_4B99_8E05_D6E9820F7042__INCLUDED_)