Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/General/gen_ml/skinnedstatic.h
2024-09-24 14:54:57 +02:00

30 lines
751 B
C++

#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