skinneddlg.h 667 B

1234567891011121314151617181920212223242526272829
  1. #ifndef NULLOSFT_MEDIALIBRARY_SKINNED_DIALOG_HEADER
  2. #define NULLOSFT_MEDIALIBRARY_SKINNED_DIALOG_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include "./skinnedscrollwnd.h"
  7. #include <commctrl.h>
  8. class SkinnedDialog : public SkinnedWnd
  9. {
  10. protected:
  11. SkinnedDialog(void);
  12. virtual ~SkinnedDialog(void);
  13. protected:
  14. virtual BOOL Attach(HWND hwndDialog);
  15. virtual LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam); // treat this as dialog proc
  16. virtual HBRUSH OnColorDialog(HDC hdc);
  17. private:
  18. friend BOOL SkinWindowEx(HWND hwndToSkin, INT type, UINT style);
  19. protected:
  20. };
  21. #endif // NULLOSFT_MEDIALIBRARY_SKINNED_DIALOG_HEADER