blob: cddd637b60473ba91f96d4289ce6523d4571a9e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
|