MyToolBar.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #ifndef MYTOOLBAR_H_
  2. #define MYTOOLBAR_H_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. /////////////////////////////////////////////////////////////////////////////
  7. // MyToolBar
  8. #include "XTOutBarCtrl.h"
  9. class MyToolBar : public CToolBar
  10. {
  11. YLGL m_wndOutlookBar;
  12. CImageList m_ImageLarge;
  13. CImageList m_ImageSmall;
  14. // Construction
  15. public:
  16. MyToolBar();
  17. // Operations
  18. // Overrides
  19. // ClassWizard generated virtual function overrides
  20. //{{AFX_VIRTUAL(MyToolBar)
  21. //}}AFX_VIRTUAL
  22. // Implementation
  23. public:
  24. void SetSelFolder(int pos);
  25. void InitializeOutlookBar();
  26. void Init();
  27. virtual ~MyToolBar();
  28. // Generated message map functions
  29. protected:
  30. //{{AFX_MSG(MyToolBar)
  31. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  32. //}}AFX_MSG
  33. afx_msg LRESULT OnOutbarNotify(WPARAM wParam, LPARAM lParam);
  34. DECLARE_MESSAGE_MAP()
  35. };
  36. /////////////////////////////////////////////////////////////////////////////
  37. //{{AFX_INSERT_LOCATION}}
  38. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  39. #endif // MYTOOLBAR_H_