how to set text background color 
Author Message
 how to set text background color

Hi,
I am a new VC++ developer,I' ve got a problem about how to  set the text
background color,  it seems to me that CListCtrl::SetTextBkColor( ) can
not be used in my application, as my application use only API plus plain
C, Does anybody help me with that ? Thanks a lot!

Daniel



Sat, 23 Jun 2001 03:00:00 GMT  
 how to set text background color
Use the SetBkColor ( ) to set the background color to be used when calling
the TextOut function.
Be sure that your background mode is set to OPAQUE ( SetBkMode ()).

- Eric

Quote:

>Hi,
>I am a new VC++ developer,I' ve got a problem about how to  set the text
>background color,  it seems to me that CListCtrl::SetTextBkColor( ) can
>not be used in my application, as my application use only API plus plain
>C, Does anybody help me with that ? Thanks a lot!

>Daniel



Sat, 23 Jun 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. set the text color and the background color of a Control Cbutton

2. Setting the background color of Static Text item and window

3. setting text and background colors for a control

4. Setting background & text color

5. Setting text and background color in CEdit

6. Background Color, Text Color

7. Background color and text color in menu

8. Change text color and background color in CEditView

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

10. set text color on static text

11. Win2K: static background color vs. CFormView background color

12. Setting dialogs background color

 

 
Powered by phpBB® Forum Software