SkinWin.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /************************************************************************/
  2. /* Copyright (C), 2016-2020, [IT], 保留所有权利;
  3. /* 模 块 名:;
  4. /* 描 述:;
  5. /*
  6. /* 版 本:[V];
  7. /* 作 者:[IT];
  8. /* 日 期:[8/19/2016];
  9. /*
  10. /*
  11. /* 注 意:;
  12. /*
  13. /* 修改记录:[IT];
  14. /* 修改日期:;
  15. /* 修改版本:;
  16. /* 修改内容:;
  17. /************************************************************************/
  18. #if !defined(AFX_SKINWIN_H__F010D322_E34F_4F9E_87E8_E76E9611942D__INCLUDED_)
  19. #define AFX_SKINWIN_H__F010D322_E34F_4F9E_87E8_E76E9611942D__INCLUDED_
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif // _MSC_VER > 1000
  23. #include "Subclass.h"
  24. class CSkinWin : public CSubclassWnd
  25. {
  26. //public:
  27. // int m_TitleHeight;
  28. // int m_BorderLeftWidth;
  29. // int m_BorderRightWidth;
  30. // int m_BorderBottomHeight;
  31. public:
  32. BOOL InstallSkin( CWnd * wnd );
  33. CSkinWin();
  34. CSkinWin( const char * skinfile )
  35. {
  36. CSkinWin();
  37. }
  38. virtual ~CSkinWin();
  39. //skinfile: full path name to skin inifile
  40. //vitrual functions
  41. virtual LRESULT WindowProc(UINT msg, WPARAM wp, LPARAM lp);
  42. UINT OnNcHitTest(CPoint point);
  43. };
  44. #endif // !defined(AFX_SKINWIN_H__F010D322_E34F_4F9E_87E8_E76E9611942D__INCLUDED_)