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 with custom draw?

Tab control with custom draw?

Scheduled Pinned Locked Moved C / C++ / MFC
comquestionlounge
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.
  • J Offline
    J Offline
    JoneLe86
    wrote on last edited by
    #1

    I want to make the flat control (2D look) instead of (3D), I can draw a rectangle or changing the color using custom draw

    (DRAWITEMSTRUCT)

    but the changes behind the tab as the picture below, the black is my rectangle http://social.msdn.microsoft.com/Forums/getfile/305523[Tab control 1 ] I have changed my rectangle to OPAQUE but still the same thing By the way the whole tab has that (3D), I have no idea why?? http://social.msdn.microsoft.com/Forums/getfile/305526[Tab control 2] Can I remove that 3D look from the tab control? And if the DRAWCUSTOM should deal with that Why my rectangle behind the tab it supposed to be on it for covering that tab? Edit: using

    TCS_faltbutton

    and

    TCS_BUTTONS

    does not solve this

    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