C & C++/MFC 컨트롤
[Progress] 프로그레스바 색상 바꾸기
izen8
2011. 4. 18. 17:05
* progress bar 색상
m_Progress.SendMessage(PBM_SETBARCOLOR, 0, (LPARAM)(COLORREF)RGB(255, 0, 0));
: 바의 색상이 빨간색으로 바뀜
m_Progress.SendMessage(PBM_SETBKCOLOR, 0, (LPARAM)(COLORREF)RGB(0, 255, 0));
: 바의 배경색이 녹색으로 바뀜