SkinStatusBar.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #if !defined(AFX_SKINSTATUSBAR_H__85DE8F8E_1BB3_46E9_978B_8D78F7A12E67__INCLUDED_)
  2. #define AFX_SKINSTATUSBAR_H__85DE8F8E_1BB3_46E9_978B_8D78F7A12E67__INCLUDED_
  3. #include "EnBitmap.h" // Added by ClassView
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // SkinStatusBar.h : header file
  8. //
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSkinStatusBar window
  11. #include "SkinButton.h"
  12. #include "SkinStatic.h"
  13. class CSkinStatusBar : public CSkinStatic
  14. {
  15. // Construction
  16. public:
  17. CSkinStatusBar();
  18. // Attributes
  19. public:
  20. // Operations
  21. public:
  22. // Overrides
  23. // Implementation
  24. public:
  25. CEnBitmap m_bmpStatusBar;
  26. CEnBitmap m_bmpBK;
  27. CList<UINT, UINT> m_ltCommands;
  28. CPtrList m_ptButton;
  29. BOOL LoadSBImage(LPCTSTR szImagePath);
  30. void SetBasicCommands(CList<UINT, UINT> &ltConmmand);
  31. virtual ~CSkinStatusBar();
  32. BOOL LoadBKImage(LPCTSTR szImagePath);
  33. void ClearMemory(); // Çå³ýÄÚ´æÕ» [7/22/2013 Zero.t]
  34. // Generated message map functions
  35. protected:
  36. //{{AFX_MSG(CSkinStatusBar)
  37. afx_msg void OnSize(UINT nType, int cx, int cy);
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. /////////////////////////////////////////////////////////////////////////////
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_SKINSTATUSBAR_H__85DE8F8E_1BB3_46E9_978B_8D78F7A12E67__INCLUDED_)