BackGround color of Status Bar - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

BackGround color of Status Bar

karhongkarhong Posts: 14Member
Hi, I'm able to set the text and the background color of the text for Status bar, but I'm not able to set the color for the 'seperator' of the status bar.
I have 3 column on the status bar, each of the text and background I'm able to set it but have no luck on the 'seperator'
I've done it by creating a custom status bar inherited from CStatusBar
By drawing it on DrawItem



CDC* pdc = CDC::FromHandle(pDIS->hDC);
pdc->FillSolidRect(&pDIS->rcItem, RGB(255,255,255));

pDIS->rcItem.left += 2;

Any ways to do this?

I wanted to change the whole status bar into white color RGB(255,255,255)
Any help would be appreciated.



Sign In or Register to comment.