diff options
Diffstat (limited to 'Src/Plugins/General/gen_ml/skinnedtooltip.h')
-rw-r--r-- | Src/Plugins/General/gen_ml/skinnedtooltip.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Src/Plugins/General/gen_ml/skinnedtooltip.h b/Src/Plugins/General/gen_ml/skinnedtooltip.h new file mode 100644 index 00000000..cddd637b --- /dev/null +++ b/Src/Plugins/General/gen_ml/skinnedtooltip.h @@ -0,0 +1,35 @@ +#ifndef NULLOSFT_MEDIALIBRARY_SKINNED_TOOLTIP_HEADER +#define NULLOSFT_MEDIALIBRARY_SKINNED_TOOLTIP_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include "./skinnedwnd.h" + + +class SkinnedToolTip : public SkinnedWnd +{ + +protected: + SkinnedToolTip(void); + virtual ~SkinnedToolTip(void); + +protected: + virtual BOOL Attach(HWND hToolTip); + virtual LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam); // treat this as dialog proc + void OnSkinChanged(BOOL bNotifyChildren, BOOL bRedraw); + + HPEN GetBorderPen(void); + void OnPaint(); + +private: + friend BOOL SkinWindowEx(HWND hwndToSkin, INT type, UINT style); + +protected: + HCURSOR skinCursor; + wchar_t *buffer; + size_t bufferSizeCch; +}; + +#endif // NULLOSFT_MEDIALIBRARY_SKINNED_TOOLTIP_HEADER
\ No newline at end of file |