aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/General/gen_ml/skinnedstatic.h
blob: 7a50424d3c1fbd46674fa6db9d6a9c62776ee748 (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
#ifndef NULLOSFT_MEDIALIBRARY_SKINNED_STATIC_HEADER
#define NULLOSFT_MEDIALIBRARY_SKINNED_STATIC_HEADER

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

#include "./skinnedwnd.h"

#define STATIC_TEXT_MAX 1024

class SkinnedStatic : public SkinnedWnd
{
protected:
	SkinnedStatic(void);
	virtual ~SkinnedStatic(void);

protected:
	virtual BOOL Attach(HWND hwndStatic);
	virtual LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam); // treat this as dialog proc
	virtual BOOL OnMediaLibraryIPC(INT msg, INT_PTR param, LRESULT *pResult);
	virtual LRESULT GetIdealSize(LPCWSTR pszText);

private:
	friend BOOL SkinWindowEx(HWND hwndToSkin, INT type, UINT style);

protected:
};

#endif // NULLOSFT_MEDIALIBRARY_SKINNED_STATIC_HEADER