OutBarEdit.h
上传用户:zslianheng
上传日期:2013-04-03
资源大小:946k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Visual C++

  1. /***************************************************************************
  2.  *                                                                         *
  3.  *   This program is free software; you can redistribute it and/or modify  *
  4.  *   it under the terms of the GNU General Public License as published by  *
  5.  *   the Free Software Foundation; either version 2 of the License, or     *
  6.  *   (at your option) any later version.                                   *
  7.  *                                                                         *
  8.  *   copyright            : (C) 2002 by Zhang Yong                         *
  9.  *   email                : z-yong163@163.com                              *
  10.  ***************************************************************************/
  11. #if !defined(AFX_OUTBAREDIT_H__18A5D73E_2167_4872_9C44_61123C233826__INCLUDED_)
  12. #define AFX_OUTBAREDIT_H__18A5D73E_2167_4872_9C44_61123C233826__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // OutBarEdit.h : header file
  17. //
  18. class OutBarCtrl;
  19. /////////////////////////////////////////////////////////////////////////////
  20. // OutBarEdit window
  21. class OutBarEdit : public CEdit
  22. {
  23. // Construction
  24. public:
  25. OutBarEdit(OutBarCtrl *l, int obj, int index);
  26. // Attributes
  27. public:
  28. int obj;
  29. int index;
  30. // Operations
  31. public:
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(OutBarEdit)
  35. public:
  36. virtual BOOL PreTranslateMessage(MSG* pMsg);
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. public:
  40. virtual ~OutBarEdit();
  41. private:
  42. OutBarCtrl *listener;
  43. // Generated message map functions
  44. protected:
  45. //{{AFX_MSG(OutBarEdit)
  46. afx_msg void OnKillFocus(CWnd* pNewWnd);
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. /////////////////////////////////////////////////////////////////////////////
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_OUTBAREDIT_H__18A5D73E_2167_4872_9C44_61123C233826__INCLUDED_)