LAPTOP-SNT8I5JK\Boounion
2025-03-04 e4a5ae95b07b9e13a81a5a814b052742e53ca890
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include <afxwin.h>
 
class CColorStatic : public CStatic
{
public:
    void SetBkColor(COLORREF color) { m_bkColor = color; }
 
protected:
    afx_msg void OnPaint();
    DECLARE_MESSAGE_MAP()
 
private:
    COLORREF m_bkColor = RGB(255, 255, 255); // Ä¬Èϱ³¾°ÑÕɫΪ°×É«
};