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.

33 lines
808 B

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997-1999 **/
  4. /**********************************************************************/
  5. /*
  6. snmclist.h
  7. snmp community list control
  8. FILE HISTORY:
  9. */
  10. #ifndef _SNMPCLISTH_
  11. #define _SNMPCLISTH_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. class CCommList : public CListCtrl
  16. {
  17. public:
  18. int InsertString( int nIndex, LPCTSTR lpszItem );
  19. int SetCurSel( int nSelect );
  20. int GetCurSel( ) const;
  21. void GetText( int nIndex, CString& rString ) const;
  22. int DeleteString( UINT nIndex );
  23. int GetCount( ) const;
  24. void OnInitList();
  25. };
  26. #endif