skinneddivider.h 763 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef NULLOSFT_MEDIALIBRARY_SKINNED_DIVIDER_HEADER
  2. #define NULLOSFT_MEDIALIBRARY_SKINNED_DIVIDER_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include "./skinnedwnd.h"
  7. class SkinnedDivider : public SkinnedWnd
  8. {
  9. protected:
  10. SkinnedDivider(void);
  11. virtual ~SkinnedDivider(void);
  12. protected:
  13. virtual BOOL Attach(HWND hwndButton);
  14. virtual LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam); // treat this as dialog proc
  15. virtual BOOL OnMediaLibraryIPC(INT msg, INT_PTR param, LRESULT *pResult);
  16. void OnPaint(void);
  17. private:
  18. friend BOOL SkinWindowEx(HWND hwndToSkin, INT type, UINT style);
  19. protected:
  20. MLDIVIDERMOVED callback;
  21. LPARAM userParam;
  22. int clickoffs;
  23. };
  24. #endif // NULLOSFT_MEDIALIBRARY_SKINNED_BUTTON_HEADER