Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.5 KiB

  1. #if !defined(AFX_INPLACEEDIT_H__8424B1E4_BF4A_11D1_82D7_0000F87A3912__INCLUDED_)
  2. #define AFX_INPLACEEDIT_H__8424B1E4_BF4A_11D1_82D7_0000F87A3912__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // InPlaceEdit.h : header file
  7. //
  8. #define IDC_IPEDIT 7896
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CInPlaceEdit window
  11. class CInPlaceEdit : public CEdit
  12. {
  13. // Construction
  14. public:
  15. CInPlaceEdit(BYTE iItem, BYTE iSubItem);
  16. // Attributes
  17. public:
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CInPlaceEdit)
  23. // public:
  24. // virtual BOOL PreTranslateMessage(MSG* pMsg);
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. public:
  28. virtual ~CInPlaceEdit();
  29. // Generated message map functions
  30. protected:
  31. //{{AFX_MSG(CInPlaceEdit)
  32. afx_msg void OnKillFocus(CWnd* pNewWnd);
  33. afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
  34. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  35. afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. private:
  39. BYTE m_iItem;
  40. BYTE m_iSubItem;
  41. LPTSTR m_sInitText;
  42. BOOL m_bESC; // To indicate whether ESC key was pressed
  43. };
  44. /////////////////////////////////////////////////////////////////////////////
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_INPLACEEDIT_H__8424B1E4_BF4A_11D1_82D7_0000F87A3912__INCLUDED_)