bg color of tab control

This is a discussion on bg color of tab control within the Windows Programming forums, part of the Platform Specific Boards category; how can i changed the background color of the tab control (the red area in the attached image) to the ...

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    98

    bg color of tab control

    how can i changed the background color of the tab control (the red area in the attached image) to the window's color, or just remove it?
    Attached Images Attached Images  

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Subclass the tab control and handle its WM_ERASEBKGND message as described in this thread. If you just want the individual rectangle as indicated in your attached image, then you should specify that as the fill rectangle.

    This msdn page seems to describe another approach but I've not tried it.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  2. Tab order in Tab Control
    By Halloko in forum Windows Programming
    Replies: 2
    Last Post: 05-09-2005, 12:08 AM
  3. tab control
    By tyouk in forum Windows Programming
    Replies: 6
    Last Post: 02-07-2005, 11:47 PM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM
  5. Using Tab control to change between dialogs
    By Eado in forum Windows Programming
    Replies: 2
    Last Post: 05-15-2002, 04:43 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21