Juan Dent
2006-04-19 01:24:02 UTC
Hi,
I have a CFormView that has a CTabCtrl and I have controls in the tab items.
I need to make the BkColor of these controls the same as the background of
the CTabCtrl - which in XP is a gradient. I first thought I could use
SetBkMode(TRANSPARENT) but that makes the BkColors the same color as the
CFormView's - not the gradually darkened CTabCtrl!!
Is there a simple way out of this?
I have a CFormView that has a CTabCtrl and I have controls in the tab items.
I need to make the BkColor of these controls the same as the background of
the CTabCtrl - which in XP is a gradient. I first thought I could use
SetBkMode(TRANSPARENT) but that makes the BkColors the same color as the
CFormView's - not the gradually darkened CTabCtrl!!
Is there a simple way out of this?
--
Thanks in advance,
Juan Dent, M.Sc.
Thanks in advance,
Juan Dent, M.Sc.