HListBox.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #if !defined(AFX_HLISTBOX_H__346C3917_14BC_11D5_A025_006067718D04__INCLUDED_)
  2. #define AFX_HLISTBOX_H__346C3917_14BC_11D5_A025_006067718D04__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // HListBox.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CHListBox window
  10. class CHListBox : public CListBox
  11. {
  12. // Construction
  13. public:
  14. CHListBox();
  15. // Attributes
  16. public:
  17. // Operations
  18. public:
  19. int AddString(LPCTSTR s);
  20. int InsertString(int i, LPCTSTR s);
  21. void ResetContent();
  22. int DeleteString(int i);
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CHListBox)
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. virtual ~CHListBox();
  30. // Generated message map functions
  31. protected:
  32. void updateWidth(LPCTSTR s);
  33. int width;
  34. //{{AFX_MSG(CHListBox)
  35. // NOTE - the ClassWizard will add and remove member functions here.
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. };
  39. /////////////////////////////////////////////////////////////////////////////
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_HLISTBOX_H__346C3917_14BC_11D5_A025_006067718D04__INCLUDED_)