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.

52 lines
960 B

  1. #ifndef _tcsource_h
  2. #define _tcsource_h
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CTcSource window
  5. class CXEventSource;
  6. class CTcSource : public CTreeCtrl
  7. {
  8. // Construction
  9. public:
  10. CTcSource();
  11. SCODE CreateWindowEpilogue();
  12. CXEventSource* GetSelectedEventSource();
  13. void SelChanged() { m_pSource->NotifyTcSelChanged(); }
  14. BOOL Find(CString& sText, BOOL bWholeWord, BOOL bMatchCase);
  15. // Attributes
  16. public:
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CTcSource)
  22. //}}AFX_VIRTUAL
  23. // Implementation
  24. public:
  25. virtual ~CTcSource();
  26. // Generated message map functions
  27. protected:
  28. //{{AFX_MSG(CTcSource)
  29. //}}AFX_MSG
  30. DECLARE_MESSAGE_MAP()
  31. private:
  32. void LoadImageList();
  33. SCODE LoadTreeFromRegistry();
  34. CImageList m_ImageList;
  35. friend class CSource;
  36. CSource* m_pSource;
  37. };
  38. #endif //_tcsource_h