SkinWin.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /************************************************************************
  2. * 程序名: 精仿QQ主界面
  3. * 制作人: 李克平, 2011年04月11日
  4. * 版本号: 1.0
  5. ************************************************************************/
  6. // SkinWin.h: interface for the CSkinWin class.
  7. //
  8. //////////////////////////////////////////////////////////////////////
  9. #if !defined(AFX_SKINWIN_H__F010D322_E34F_4F9E_87E8_E76E9611942D__INCLUDED_)
  10. #define AFX_SKINWIN_H__F010D322_E34F_4F9E_87E8_E76E9611942D__INCLUDED_
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif // _MSC_VER > 1000
  14. #include "Subclass.h"
  15. class CSkinWin : public CSubclassWnd
  16. {
  17. //public:
  18. // int m_TitleHeight;
  19. // int m_BorderLeftWidth;
  20. // int m_BorderRightWidth;
  21. // int m_BorderBottomHeight;
  22. public:
  23. BOOL InstallSkin( CWnd * wnd );
  24. CSkinWin();
  25. CSkinWin( const char * skinfile )
  26. {
  27. CSkinWin();
  28. }
  29. virtual ~CSkinWin();
  30. //skinfile: full path name to skin inifile
  31. //vitrual functions
  32. virtual LRESULT WindowProc(UINT msg, WPARAM wp, LPARAM lp);
  33. UINT OnNcHitTest(CPoint point);
  34. };
  35. #endif // !defined(AFX_SKINWIN_H__F010D322_E34F_4F9E_87E8_E76E9611942D__INCLUDED_)