Tab Control Back Color and Tab Color?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi,All In My application i am using CPropertySheet class for tabed dialog. I have to change the Tab Cotrol Back color and TabColor. For this i tried with CMyDislplay::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { if( nCtlColor == CTLCOLOR_DLG) { pDC->SetBkColor(RGB(181,195,222)); pDC->SetTextColor(RGB(255,255,255)); return (HBRUSH)(m_pDlgBKBrush->GetSafeHandle()); } HBRUSH hbr = CPropertySheet::OnCtlColor(pDC, pWnd, nCtlColor); } //CMyDislplay is derived from CPropertySheet. In above trial the dialog color is changed,but Tab Color not changing ---- Can any one help me... how can i change the Tab Color as wel as dialog color thank in advance..:rose: anju