SkinView.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #if !defined(AFX_SKINVIEW_H__5020CD39_3473_430A_B6A5_7C46CA8E3834__INCLUDED_)
  2. #define AFX_SKINVIEW_H__5020CD39_3473_430A_B6A5_7C46CA8E3834__INCLUDED_
  3. #include "EnBitmap.h" // Added by ClassView
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // SkinView.h : header file
  8. //
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSkinView window
  11. #include "EnBitmap.h"
  12. class CSkinView : public CStatic
  13. {
  14. // Construction
  15. public:
  16. CSkinView();
  17. // Attributes
  18. public:
  19. // Operations
  20. public:
  21. // Overrides
  22. // Implementation
  23. public:
  24. void SetBorderColor(COLORREF cr){m_ViewBorder=cr;}
  25. COLORREF m_ViewBackGround;
  26. COLORREF m_ViewBorder;
  27. void SetBKColor(COLORREF cr){m_ViewBackGround=cr;}
  28. CEnBitmap m_bmpBK;
  29. virtual ~CSkinView();
  30. BOOL LoadBKImage(LPCTSTR szImagePath);
  31. // Generated message map functions
  32. protected:
  33. //{{AFX_MSG(CSkinView)
  34. afx_msg void OnPaint();
  35. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. };
  39. #endif // !defined(AFX_SKINVIEW_H__5020CD39_3473_430A_B6A5_7C46CA8E3834__INCLUDED_)