QuakeGod
2022-01-16 326d3e312c74726814c39c9d112faab03c4a167c
提交 | 用户 | age
4b03ae 1 #pragma once
Q 2
3
4 // CStaticEx
5
6 class CStaticEx : public CStatic
7 {
8 //    DECLARE_DYNAMIC(CStaticEx)
9
10 public:
11     CStaticEx();
12     virtual ~CStaticEx();
13
14 private:
15     HBRUSH        m_bkBrush;
16     COLORREF    crCtlColor;
17     COLORREF    crTextColor;
18     
19 // Attributes
20 public:
21     void SetCtlColor(COLORREF color);
0ed438 22     void SetBkColor(COLORREF color) { SetCtlColor( color); };
4b03ae 23 protected:
Q 24     DECLARE_MESSAGE_MAP()
25 public:
26 //    afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
27 public:
28     afx_msg HBRUSH CtlColor(CDC* /*pDC*/, UINT /*nCtlColor*/);
29 public:
30     void SetTextColor(COLORREF color);
31 public:
32     int bCtlColorDef;
33 public:
34     int bTextColorDef;
35 public:
36     void SetTextSize(int size);
37 public:
38     CFont pFont1;
39 };
40
41