-
February 14th, 2003, 08:36 AM
#1
MFC List Control: How to change the colors in a list control?
Q: How to change the colors in a list control?
A:
- Change the background color in the list control:
Code:
m_myListControl.SetBkColor(RGB(160,184,207));
- Change the text color in the list control:
Code:
m_myListControl.SetTextColor(RGB(100,100,100));
- Change the background color of text:
Code:
m_myListControl.SetTextBkColor(RGB(160,184,207));
Last edited by Andreas Masur; July 25th, 2005 at 03:42 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|