Notice
Link
- Today
- Total
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 터치좌표 view
- MariaDB
- SQL 첫날
- 코드로 서버 재실행
- DB 계정생성
- c언어
- CSS
- Activity 전체화면
- kill -9
- Back 키 클릭 감지
- springboot 재가동
- MFC
- sql exception
- pid 찾아 kill
- rn
- springboot
- 말줌임 CSS
- CentOS
- vc++
- 피쉬랜드
- view 획득
- 스크롤적용
- SQL 마지막날
- MySQL
- richedit 색상
- mybatis exception
- 텍스트컬러
- ffmpeg
- 가변영역 스크롤
- reactnative
Archives
목록richedit 색상 (1)
개발은 하는건가..
[MFC] CRichEditCtrl 텍스트 컬러 지정
아래의 함수에서 m_edClientLog 는 richEdit 의 컨트롤 변수이다. 로그 출력용 richEdit 에 1000 라인까지만 출력하도록 하는 기능 void outRichEditText(TCHAR *pwszLog, COLORREF color) { CPoint point; int first_pos = m_edClientLog.LineIndex(m_edClientLog.GetLineCount()); m_edClientLog.SetSel(first_pos, first_pos); point = m_edClientLog.PosFromChar(first_pos); m_edClientLog.SetCaretPos(point); CHARFORMAT cf; memset(&cf, 0, sizeof(CHARFORMAT..
C, C++, MFC
2023. 5. 15. 17:01