SkinControlBar.h 614 B

123456789101112131415161718192021222324252627282930313233
  1. /***********************************************
  2. * 工作室 : 软景工作室
  3. * 作者 : 肖尚德
  4. * 用途 :
  5. *************************************************/
  6. #ifndef _SKINCONTROLBAR_H
  7. #define _SKINCONTROLBAR_H
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif
  11. #include "skinwnd.h"
  12. class CSkinControlBar : public CSkinWnd
  13. {
  14. public:
  15. CSkinControlBar( void );
  16. ~CSkinControlBar( void );
  17. virtual void InstallSkin( HWND hWnd );
  18. void LoadSkin();
  19. void OnPaint();
  20. BOOL OnEraseBkgnd( CDC * pDC );
  21. void OnNcPaint( HRGN rgn1 );
  22. void DrawControlBar( CDC * pDC );
  23. protected:
  24. CWindowSkin * m_pWinSkin;
  25. };
  26. #endif