일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Gradient
- edge
- Class
- file access
- atmega328
- parameter
- APP
- Unity
- Pointer
- mfc
- c++
- Contour
- Encapusulation
- memory
- Read
- digitalRead
- Gaussian
- SERIAL
- flutter
- Binary
- wpf
- aduino
- subpixel
- 3D
- sensor
- compare
- UNO
- stream
- public
- Android
Archives
- Today
- Total
목록text color (1)
폴크(FOLC)

CStatic을 상속받아 사용자 정의 클래스를 제작해 놓은 CLabel 클래스의 예시입니다.- 텍스트 색상 변경과 마우스 이벤트 처리 가능// CLabel.h #pragma once #include class CLabel : public CStatic { public: CLabel(); virtual ~CLabel(); void SetTextColor(COLORREF color); void SetBkColor(COLORREF color); protected: afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor); afx_msg void OnMouseMove(UINT nFlags, CPoint point); afx_..
카테고리 없음
2025. 4. 17. 20:42