1
0

skinnedprogressbar.h 759 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef NULLOSFT_MEDIALIBRARY_SKINNED_PROGRESSBAR_HEADER
  2. #define NULLOSFT_MEDIALIBRARY_SKINNED_PROGRESSBAR_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include "./skinnedwnd.h"
  7. class SkinnedProgressBar : public SkinnedWnd
  8. {
  9. protected:
  10. SkinnedProgressBar(void);
  11. virtual ~SkinnedProgressBar(void);
  12. protected:
  13. virtual BOOL Attach(HWND hProgressBar);
  14. virtual LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam); // treat this as dialog proc
  15. void OnSkinChanged(BOOL bNotifyChildren, BOOL bRedraw);
  16. void OnPaint(void);
  17. UINT GetBorderType(void);
  18. private:
  19. friend BOOL SkinWindowEx(HWND hwndToSkin, INT type, UINT style);
  20. protected:
  21. HCURSOR skinCursor;
  22. };
  23. #endif // NULLOSFT_MEDIALIBRARY_SKINNED_PROGRESSBAR_HEADER