SkinTabCtrl.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #if !defined(AFX_SKINTABCTRL_H__A21C8BDE_2C6B_4CDF_83A5_2F82275BCDED__INCLUDED_)
  2. #define AFX_SKINTABCTRL_H__A21C8BDE_2C6B_4CDF_83A5_2F82275BCDED__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SkinTabCtrl.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSkinTabCtrl window
  10. #include "EnBitmap.h"
  11. class CSkinTabCtrl : public CStatic
  12. {
  13. // Construction
  14. public:
  15. CSkinTabCtrl();
  16. CPtrArray m_ImageArray;
  17. // Attributes
  18. public:
  19. // Operations
  20. public:
  21. // Overrides
  22. protected:
  23. // Implementation
  24. public:
  25. void Clear();
  26. void AddTab(LPCTSTR szImagePath);
  27. void LoadBitmap(LPCTSTR szImagePath);
  28. void ClearMemory();
  29. virtual ~CSkinTabCtrl();
  30. int m_tabCurrent;
  31. CEnBitmap m_bmpTabBk;
  32. // Generated message map functions
  33. protected:
  34. //{{AFX_MSG(CSkinTabCtrl)
  35. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  36. afx_msg void OnPaint();
  37. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  38. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  39. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. /////////////////////////////////////////////////////////////////////////////
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_SKINTABCTRL_H__A21C8BDE_2C6B_4CDF_83A5_2F82275BCDED__INCLUDED_)