xref: /MusicPlayer2/MusicPlayer2/ColorStatic.h (revision 877f5f92b251a01591a4960c885129aa589a8135)
1 #pragma once
2 
3 
4 // CColorStatic
5 
6 class CColorStatic : public CStatic
7 {
8 	DECLARE_DYNAMIC(CColorStatic)
9 
10 public:
11 	CColorStatic();
12 	virtual ~CColorStatic();
13 
14 	void SetFillColor(COLORREF fill_color);		//设置要填充的背景色
15 
16 protected:
17 	COLORREF m_fill_color{ RGB(255, 255,255) };
18 
19 protected:
20 	DECLARE_MESSAGE_MAP()
21 public:
22 	afx_msg void OnPaint();
23 };
24 
25 
26