|
Revision 5, 1.3 kB
(checked in by qbert, 3 years ago)
|
Initial ( and last :( ) commit
|
| Line | |
|---|
| 1 |
#if !defined(AFX_ELEPHANTEDIT_H__A496C445_EA60_4AFD_8D47_28CD5142A8B7__INCLUDED_) |
|---|
| 2 |
#define AFX_ELEPHANTEDIT_H__A496C445_EA60_4AFD_8D47_28CD5142A8B7__INCLUDED_ |
|---|
| 3 |
|
|---|
| 4 |
#if _MSC_VER > 1000 |
|---|
| 5 |
#pragma once |
|---|
| 6 |
#endif // _MSC_VER > 1000 |
|---|
| 7 |
// ElephantEdit.h : header file |
|---|
| 8 |
// |
|---|
| 9 |
|
|---|
| 10 |
///////////////////////////////////////////////////////////////////////////// |
|---|
| 11 |
// CElephantEdit window |
|---|
| 12 |
|
|---|
| 13 |
class CElephantEdit : public CXTFlatEdit |
|---|
| 14 |
{ |
|---|
| 15 |
// Construction |
|---|
| 16 |
public: |
|---|
| 17 |
CElephantEdit(); |
|---|
| 18 |
string m_text; |
|---|
| 19 |
void SetText(const string& text, bool disable = true); |
|---|
| 20 |
|
|---|
| 21 |
string GetText() { return m_text; } |
|---|
| 22 |
|
|---|
| 23 |
// Attributes |
|---|
| 24 |
public: |
|---|
| 25 |
|
|---|
| 26 |
// Operations |
|---|
| 27 |
public: |
|---|
| 28 |
|
|---|
| 29 |
// Overrides |
|---|
| 30 |
// ClassWizard generated virtual function overrides |
|---|
| 31 |
//{{AFX_VIRTUAL(CElephantEdit) |
|---|
| 32 |
//}}AFX_VIRTUAL |
|---|
| 33 |
|
|---|
| 34 |
// Implementation |
|---|
| 35 |
public: |
|---|
| 36 |
virtual ~CElephantEdit(); |
|---|
| 37 |
|
|---|
| 38 |
// Generated message map functions |
|---|
| 39 |
protected: |
|---|
| 40 |
//{{AFX_MSG(CElephantEdit) |
|---|
| 41 |
afx_msg void OnSetfocus(); |
|---|
| 42 |
afx_msg void OnKillfocus(); |
|---|
| 43 |
//}}AFX_MSG |
|---|
| 44 |
|
|---|
| 45 |
DECLARE_MESSAGE_MAP() |
|---|
| 46 |
}; |
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
///////////////////////////////////////////////////////////////////////////// |
|---|
| 50 |
|
|---|
| 51 |
//{{AFX_INSERT_LOCATION}} |
|---|
| 52 |
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
|---|
| 53 |
|
|---|
| 54 |
#endif // !defined(AFX_ELEPHANTEDIT_H__A496C445_EA60_4AFD_8D47_28CD5142A8B7__INCLUDED_) |
|---|