Leaked source code of windows server 2003
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.

59 lines
1.4 KiB

  1. #if !defined(AFX_SORTHEADER_H__A5F69D17_1989_4206_8A14_7AC8C91AB797__INCLUDED_)
  2. #define AFX_SORTHEADER_H__A5F69D17_1989_4206_8A14_7AC8C91AB797__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SortHeader.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSortHeader window
  10. class CSortHeader : public CHeaderCtrl
  11. {
  12. // Construction
  13. public:
  14. CSortHeader();
  15. // Attributes
  16. public:
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CSortHeader)
  22. //}}AFX_VIRTUAL
  23. // Implementation
  24. public:
  25. virtual ~CSortHeader();
  26. int SetSortImage (int nCol, BOOL bAscending);
  27. void SetListControl (HWND hwnd) { m_hwndList = hwnd; }
  28. // Generated message map functions
  29. protected:
  30. //{{AFX_MSG(CSortHeader)
  31. //}}AFX_MSG
  32. void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  33. int m_nSortColumn;
  34. BOOL m_bSortAscending;
  35. HWND m_hwndList;
  36. DECLARE_MESSAGE_MAP()
  37. private:
  38. };
  39. /////////////////////////////////////////////////////////////////////////////
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_SORTHEADER_H__A5F69D17_1989_4206_8A14_7AC8C91AB797__INCLUDED_)