Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Tab Control Back Color and Tab Color?

Tab Control Back Color and Tab Color?

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anju
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups