Change Background and Text Color of StatusBar 
Author Message
 Change Background and Text Color of StatusBar

Hi,

Does anyone know how to chage backgroud and text color
for only the first pane of status bar?
Sending SB_SETBKCOLOR message chages background color
for all the pane of status bar.

Thanks,
Yosh



Mon, 21 May 2001 03:00:00 GMT  
 Change Background and Text Color of StatusBar
Make your first pane owner drawn by setting the correct style... and in the
DrawItem method can draw whatever you please (as long as it fits the panes
borders)

But since the pane is ownerdrawn you're going to have to manually draw your
text in the pane (in any colour and with any colour background).

hope that helps....

Quote:

>Hi,

>Does anyone know how to chage backgroud and text color
>for only the first pane of status bar?
>Sending SB_SETBKCOLOR message chages background color
>for all the pane of status bar.

>Thanks,
>Yosh



Mon, 21 May 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Change text color and background color in CEditView

2. Change a part of Background color or a part of text color from CListCtrl

3. changing color of statusbar text

4. changing background color of the text

5. How to change background and text color of CPropertySheet

6. Changing Background Color of CEdit - Problem With Double Clicking On Texts

7. Changing the background color of a static text control

8. Change background color of selected text

9. Developer studio addin - SetWindowsHookEx, changing the text background color

10. Change color background of astatic text

11. Changing Text and Background Color on Pushbuttons

12. Change background and text color in CButton

 

 
Powered by phpBB® Forum Software