GfxGroupEdit.h
上传用户:fjzzwyy
上传日期:2007-01-14
资源大小:244k
文件大小:2k
源码类别:

绘图程序

开发平台:

Visual C++

  1. // Copyright (c) Iuri Apollonio 1998
  2. // Use & modify as you want & need, and leave those 4 lines.
  3. // Strongly based on article "Inplace edit control" of Mario Contestabile and "Editable subitems" of Zafir
  4. // http://www.codeguru.com
  5. #if !defined(AFX_GFXGROUPEDIT_H__CA5BB022_1277_11D2_843A_0000B43382FE__INCLUDED_)
  6. #define AFX_GFXGROUPEDIT_H__CA5BB022_1277_11D2_843A_0000B43382FE__INCLUDED_
  7. #if _MSC_VER >= 1000
  8. #pragma once
  9. #endif // _MSC_VER >= 1000
  10. // GfxGroupEdit.h : header file
  11. //
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CGfxGroupEdit window
  14. //outlook界面控件
  15. class CGfxGroupEdit : public CEdit
  16. {
  17. // Construction
  18. public:
  19. CGfxGroupEdit();
  20. // Attributes
  21. public:
  22. BOOL bEscapeKey;
  23. CString text;
  24. WPARAM msgSend;
  25. bool bNoDown;
  26. // Operations
  27. public:
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CGfxGroupEdit)
  31. public:
  32. virtual BOOL PreTranslateMessage(MSG* pMsg);
  33. protected:
  34. virtual void PostNcDestroy();
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. public:
  38. int iIndex;
  39. virtual ~CGfxGroupEdit();
  40. // Generated message map functions
  41. protected:
  42. //{{AFX_MSG(CGfxGroupEdit)
  43. afx_msg void OnKillFocus(CWnd* pNewWnd);
  44. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  45. afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. /////////////////////////////////////////////////////////////////////////////
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_GFXGROUPEDIT_H__CA5BB022_1277_11D2_843A_0000B43382FE__INCLUDED_)