How to change background and text color of CPropertySheet 
Author Message
 How to change background and text color of CPropertySheet

In normal dialogs I use something like that :

HBRUSH CNormalDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
 return m_BkBrush;


unfortunately in CPropertySheet, a text color and a background color of an
embedded CTabCtrl control remains unchanged. I can obtain a pointer to this
control through GetTabControl() but I don't know what to do with it. I tried
some subclassing with my own CTabCtrl but colors still remained the same.

Any ideas ? Thanks,


Sun, 06 Feb 2005 19:51:09 GMT  
 [ 1 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 the font color of the CPropertySheet text on tabs

4. changing background color of the text

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

6. Changing the background color of a static text control

7. Change background color of selected text

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

9. Change color background of astatic text

10. Changing Text and Background Color on Pushbuttons

11. Change Background and Text Color of StatusBar

12. Change background and text color in CButton


Powered by phpBB® Forum Software