Change BAR Color of CProgressCtrl
-
Can anyone help me please to change the bar color of an XP styled CProgressCtrl please... Thanx'n'Advance
Use PBM_SETBARCOLOR[^].
Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com
-
Use PBM_SETBARCOLOR[^].
Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com
-
Thanx for replyin....:) I have tried it. send->m_ProgressSend.SendMessage(PBM_SETBARCOLOR,0,RGB(255,0,0)); This seems to work only if i dont use xp style. is thr any other way out???? Thanx'n'advance
arshadkc wrote:
This seems to work only if i dont use xp style.
I've done it here in this article -> http://www.codeproject.com/useritems/processviewer.asp[^]. I just painted my own stuff, you can reuse if you wish.
Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com
-
arshadkc wrote:
This seems to work only if i dont use xp style.
I've done it here in this article -> http://www.codeproject.com/useritems/processviewer.asp[^]. I just painted my own stuff, you can reuse if you wish.
Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com
-
Can anyone help me please to change the bar color of an XP styled CProgressCtrl please... Thanx'n'Advance
See if this helps.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne