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.

69 lines
1.6 KiB

  1. /*++
  2. 1998 Seagate Software, Inc. All rights reserved
  3. Module Name:
  4. SAKVlLs.h
  5. Abstract:
  6. Managed Volume wizard.
  7. Author:
  8. Micheal Moore [mmoore] 30-Sep-1998
  9. Revision History:
  10. --*/
  11. #ifndef _SAKVLLS_H
  12. #define _SAKVLLS_H
  13. class CSakVolList : public CListCtrl {
  14. // Construction/Destruction
  15. public:
  16. CSakVolList();
  17. virtual ~CSakVolList();
  18. // Attributes
  19. protected:
  20. int m_nVolumeIcon;
  21. CImageList m_imageList;
  22. // Operations
  23. public:
  24. //
  25. // SetExtendedStyle, GetCheck, and SetCheck are temporary methods.
  26. // When the version of MFC we are building against is updated
  27. // they can be deleted.
  28. //
  29. DWORD SetExtendedStyle( DWORD dwNewStyle );
  30. BOOL GetCheck ( int nItem ) const;
  31. BOOL SetCheck( int nItem, BOOL fCheck = TRUE );
  32. //
  33. // Inserts an Item for the name at this->GetItemCount and
  34. // calls SetItem for the capacity and free space. The int * pIndex
  35. // parameter is optional and will return the index of the newly appended
  36. // item to the list. The return value suggests the Append was
  37. // successful or not.
  38. //
  39. BOOL AppendItem( LPCTSTR name, LPCTSTR capacity, LPCTSTR freeSpace, int * pIndex = NULL );
  40. // Implementation
  41. protected:
  42. BOOL CreateImageList();
  43. //{{AFX_MSG(CSakVolList)
  44. // NOTE - the ClassWizard will add and remove member functions here.
  45. //}}AFX_MSG
  46. // Overrides
  47. // ClassWizard generated virtual function overrides
  48. //{{AFX_VIRTUAL(CSakVolList)
  49. virtual void PreSubclassWindow();
  50. //}}AFX_VIRTUAL
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. #endif