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.3 KiB

  1. // ListRow.h : header file
  2. //
  3. #ifndef _LISTROW_
  4. #define _LISTROW_
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CListSelRowCtrl window
  7. class CListSelRowCtrl : public CListCtrl
  8. {
  9. // Construction
  10. public:
  11. CListSelRowCtrl();
  12. virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  13. // Attributes
  14. public:
  15. // Operations
  16. public:
  17. // Overrides
  18. // ClassWizard generated virtual function overrides
  19. //{{AFX_VIRTUAL(CListSelRowCtrl)
  20. //}}AFX_VIRTUAL
  21. // Implementation
  22. public:
  23. virtual ~CListSelRowCtrl();
  24. // Generated message map functions
  25. protected:
  26. //{{AFX_MSG(CListSelRowCtrl)
  27. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  28. afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
  29. //}}AFX_MSG
  30. DECLARE_MESSAGE_MAP()
  31. void GetHiliteColors();
  32. void HiliteSelectedCells();
  33. void HiliteSelectedCell( int iCell, BOOL fHilite = TRUE );
  34. BOOL FGetCellRect( LONG iRow, LONG iCol, CRect *pcrect );
  35. void FitString( CString &sz, int cpWidth, CDC* pcdc );
  36. CBitmap m_bitmapCheck;
  37. COLORREF m_colorHiliteText;
  38. COLORREF m_colorHilite;
  39. DWORD m_StartDrawingCol;
  40. };
  41. /////////////////////////////////////////////////////////////////////////////
  42. #endif