SelectingListCtrl.h
Upload User: kairuinn
Upload Date: 2009-02-07
Package Size: 2922k
Code Size: 1k
Category:

Graph program

Development Platform:

Visual C++

  1. #if !defined(AFX_RADIOLISTBOX_H__E853DB3F_FF3C_4DAB_A4AB_1E300E7CC15D__INCLUDED_)
  2. #define AFX_RADIOLISTBOX_H__E853DB3F_FF3C_4DAB_A4AB_1E300E7CC15D__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // RadioListBox.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSelectingListCtrl window
  10. class CSelectingListCtrl : public CListCtrl
  11. {
  12. // Construction
  13. public:
  14. CSelectingListCtrl();
  15. // Attributes
  16. public:
  17. void    SetMultiSelectMode(bool);
  18.   
  19. // Operations
  20. public:
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CSelectingListCtrl)
  24. public:
  25. virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. virtual ~CSelectingListCtrl();
  30. // Generated message map functions
  31. protected:
  32. //{{AFX_MSG(CSelectingListCtrl)
  33. afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
  34. //}}AFX_MSG
  35. DECLARE_MESSAGE_MAP()
  36. public:
  37. afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
  38. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  39. };
  40. /////////////////////////////////////////////////////////////////////////////
  41. //{{AFX_INSERT_LOCATION}}
  42. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  43. #endif // !defined(AFX_RADIOLISTBOX_H__E853DB3F_FF3C_4DAB_A4AB_1E300E7CC15D__INCLUDED_)