GME
13
|
00001 00002 // InPlaceEdit.h : header file 00003 // 00004 // MFC Grid Control - inplace editing class 00005 // 00006 // Written by Chris Maunder <cmaunder@mail.com> 00007 // Copyright (c) 1998-2002. All Rights Reserved. 00008 // 00009 // This code may be used in compiled form in any way you desire. This 00010 // file may be redistributed unmodified by any means PROVIDING it is 00011 // not sold for profit without the authors written consent, and 00012 // providing that this notice and the authors name and all copyright 00013 // notices remains intact. 00014 // 00015 // An email letting me know how you are using it would be nice as well. 00016 // 00017 // This file is provided "as is" with no expressed or implied warranty. 00018 // The author accepts no liability for any damage/loss of business that 00019 // this product may cause. 00020 // 00021 // For use with CGridCtrl v2.10+ 00022 // 00024 #if !defined(AFX_INPLACEEDIT_H__0C0027AD_6641_498A_BE01_8947A0F64FFD__INCLUDED_) 00025 #define AFX_INPLACEEDIT_H__0C0027AD_6641_498A_BE01_8947A0F64FFD__INCLUDED_ 00026 00027 #if _MSC_VER > 1000 00028 #pragma once 00029 #endif // _MSC_VER > 1000 00030 // InPlaceEdit.h : header file 00031 // 00032 00034 // CInPlaceEdit window 00035 00036 class CInPlaceEdit : public CEdit 00037 { 00038 // Construction 00039 public: 00040 CInPlaceEdit(); 00041 00042 // Attributes 00043 public: 00044 00045 // Operations 00046 public: 00047 00048 // Overrides 00049 // ClassWizard generated virtual function overrides 00050 //{{AFX_VIRTUAL(CInPlaceEdit) 00051 protected: 00052 virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); 00053 //}}AFX_VIRTUAL 00054 00055 // Implementation 00056 public: 00057 virtual ~CInPlaceEdit(); 00058 00059 // Generated message map functions 00060 protected: 00061 //{{AFX_MSG(CInPlaceEdit) 00062 afx_msg void OnKillFocus(CWnd* pNewWnd); 00063 //}}AFX_MSG 00064 00065 DECLARE_MESSAGE_MAP() 00066 }; 00067 00069 00070 //{{AFX_INSERT_LOCATION}} 00071 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00072 00073 #endif // !defined(AFX_INPLACEEDIT_H__0C0027AD_6641_498A_BE01_8947A0F64FFD__INCLUDED_)