SortHeaderCtrl.h 974 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef SORTHEADERCTRL_H
  2. #define SORTHEADERCTRL_H
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. class CSortHeaderCtrl : public CHeaderCtrl
  7. {
  8. // Construction
  9. public:
  10. CSortHeaderCtrl();
  11. // Attributes
  12. public:
  13. // Operations
  14. public:
  15. // Overrides
  16. // ClassWizard generated virtual function overrides
  17. //{{AFX_VIRTUAL(CSortHeaderCtrl)
  18. public:
  19. virtual void Serialize(CArchive& ar);
  20. //}}AFX_VIRTUAL
  21. // Implementation
  22. public:
  23. virtual ~CSortHeaderCtrl();
  24. void SetSortArrow( const int iColumn, const BOOL bAscending );
  25. // Generated message map functions
  26. protected:
  27. void DrawItem( LPDRAWITEMSTRUCT lpDrawItemStruct );
  28. int m_iSortColumn;
  29. BOOL m_bSortAscending;
  30. //{{AFX_MSG(CSortHeaderCtrl)
  31. // NOTE - the ClassWizard will add and remove member functions here.
  32. //}}AFX_MSG
  33. DECLARE_MESSAGE_MAP()
  34. };
  35. //{{AFX_INSERT_LOCATION}}
  36. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  37. #endif // SORTHEADERCTRL_H